Skip to content

Commit

Permalink
fix(removeStaleWhenUpdated): use the value of the action config as ex…
Browse files Browse the repository at this point in the history
…pected

Fixes actions#451
  • Loading branch information
C0ZEN committed Jun 14, 2021
1 parent 42b5334 commit 3e58d39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ function _getAndValidateArgs(): IIssuesProcessorOptions {
core.getInput('remove-stale-when-updated') === 'false'
),
removeIssueStaleWhenUpdated: _toOptionalBoolean(
core.getInput('remove-issue-stale-when-updated')
'remove-issue-stale-when-updated'
),
removePrStaleWhenUpdated: _toOptionalBoolean(
core.getInput('remove-pr-stale-when-updated')
'remove-pr-stale-when-updated'
),
removeStaleWhenCommented: !(
core.getInput('remove-stale-when-commented') === 'false'
Expand Down

0 comments on commit 3e58d39

Please sign in to comment.