mirror of
https://github.com/actions/stale.git
synced 2025-12-12 04:57:15 +00:00
feat(only-labels): add 2 new options to distinguish issue and PR configs (#336)
* feat(assignees): add new option to avoid stale for assignees closes #271 * test: add more coverage * docs: fix readme format issue * docs: reorder and enhance typo * docs(contributing): add more information about the npm scripts * feat(only-labels): add new options to customize it for issues and PR closes #308
This commit is contained in:
committed by
GitHub
parent
836169b81a
commit
0e95ddbecb
@@ -39,6 +39,8 @@ function _getAndValidateArgs(): IIssuesProcessorOptions {
|
||||
closePrLabel: core.getInput('close-pr-label'),
|
||||
exemptPrLabels: core.getInput('exempt-pr-labels'),
|
||||
onlyLabels: core.getInput('only-labels'),
|
||||
onlyIssueLabels: core.getInput('only-issue-labels'),
|
||||
onlyPrLabels: core.getInput('only-pr-labels'),
|
||||
operationsPerRun: parseInt(
|
||||
core.getInput('operations-per-run', {required: true})
|
||||
),
|
||||
@@ -106,4 +108,4 @@ function _toOptionalBoolean(
|
||||
return undefined;
|
||||
}
|
||||
|
||||
_run();
|
||||
void _run();
|
||||
|
||||
Reference in New Issue
Block a user