mirror of
https://github.com/actions/stale.git
synced 2025-12-20 06:42:15 +00:00
Add a test for un-staling
This commit is contained in:
2
dist/index.js
vendored
2
dist/index.js
vendored
@@ -8452,6 +8452,7 @@ class IssueProcessor {
|
||||
this.operationsLeft = 0;
|
||||
this.staleIssues = [];
|
||||
this.closedIssues = [];
|
||||
this.removedLabelIssues = [];
|
||||
this.options = options;
|
||||
this.operationsLeft = options.operationsPerRun;
|
||||
this.client = new github.GitHub(options.repoToken);
|
||||
@@ -8632,6 +8633,7 @@ class IssueProcessor {
|
||||
removeLabel(issue, label) {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
core.debug(`Removing label ${label} from issue #${issue.number} - ${issue.title}`);
|
||||
this.removedLabelIssues.push(issue);
|
||||
this.operationsLeft -= 1;
|
||||
if (this.options.debugOnly) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user