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 8, 2021
1 parent 55cd76e commit 3c52318
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.ts
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 3c52318

Please sign in to comment.