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 3, 2021
1 parent 4a6e235 commit e63a433
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'
),
debugOnly: core.getInput('debug-only') === 'true',
ascending: core.getInput('ascending') === 'true',
Expand Down

0 comments on commit e63a433

Please sign in to comment.