From 97a92ae6e092f7120be2fb44e25cf3ec4a71272c Mon Sep 17 00:00:00 2001 From: TESTELIN Geoffrey Date: Tue, 1 Jun 2021 21:18:41 +0200 Subject: [PATCH] fix(removeStaleWhenUpdated): use the value of the action config as expected Fixes #451 --- src/main.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.ts b/src/main.ts index c759fe341..9b0e8532a 100644 --- a/src/main.ts +++ b/src/main.ts @@ -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',