mirror of
https://github.com/actions/stale.git
synced 2025-12-11 12:37:27 +00:00
Add new 'include-only-assigned' option
If set, only issues containing assignees will be processed
This commit is contained in:
2598
dist/index.js
vendored
2598
dist/index.js
vendored
File diff suppressed because it is too large
Load Diff
@@ -223,10 +223,10 @@ export class IssuesProcessor {
|
||||
|
||||
if (this._isIncludeOnlyAssigned(issue)) {
|
||||
issueLogger.info(
|
||||
`Skipping this $$type because its assignees list is empty`
|
||||
`Skipping this $$type because it's assignees list is empty`
|
||||
);
|
||||
IssuesProcessor._endIssueProcessing(issue);
|
||||
return; // If the issue has an 'include-only-assigned' option set, process only issues with nonempty assignees list
|
||||
return; // If the issue has an 'include-only-assigned' option, process only issues with nonempty assignees list
|
||||
}
|
||||
|
||||
const onlyLabels: string[] = wordsToList(this._getOnlyLabels(issue));
|
||||
|
||||
Reference in New Issue
Block a user