Remove stale labels and ignore stale issues with comments (#58)

* Ignore issues that have recent comments and ignore the stale label. Defaulting to this behavior but added an option to turn it off.
* Fix up tests a bit to make this runnable. Add a test for the logic.
* Add vscode debugging configuration.
This commit is contained in:
Ross Brodbeck
2020-05-11 10:46:03 -04:00
committed by GitHub
parent 4f9b6a7a5c
commit 3838b887be
7 changed files with 507 additions and 85 deletions

View File

@@ -32,6 +32,9 @@ function getAndValidateArgs(): IssueProcessorOptions {
operationsPerRun: parseInt(
core.getInput('operations-per-run', {required: true})
),
removeStaleWhenUpdated: !(
core.getInput('remove-stale-when-updated') === 'false'
),
debugOnly: core.getInput('debug-only') === 'true'
};