Skip to content

Commit

Permalink
Use getBooleanInput
Browse files Browse the repository at this point in the history
ref #216 for details
  • Loading branch information
marocchino committed May 25, 2021
1 parent 385771b commit 51f328e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ export const pullRequestNumber =

export const repo = buildRepo()
export const header = core.getInput('header', {required: false})
export const append = core.getInput('append', {required: true}) === 'true'
export const recreate = core.getInput('recreate', {required: true}) === 'true'
export const append = core.getBooleanInput('append', {required: true})
export const recreate = core.getBooleanInput('recreate', {required: true})
export const deleteOldComment =
core.getInput('delete', {required: true}) === 'true'
core.getBooleanInput('delete', {required: true})
export const githubToken = core.getInput('GITHUB_TOKEN', {required: true})

export const body = buildBody()
Expand Down

0 comments on commit 51f328e

Please sign in to comment.