mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2024-12-29 01:11:30 -06:00
Add a Break Statement To Skip Checking The Remaining Labels of an Issue in Github Actions Auto Close Issues
This commit is contained in:
parent
9978758327
commit
4b08e01430
1
.github/workflows/close-old-issues.yaml
vendored
1
.github/workflows/close-old-issues.yaml
vendored
@ -54,6 +54,7 @@ jobs:
|
||||
if (label.name === labelKeepIssue) {
|
||||
console.log(`Issue #${issue.number} will not be closed`);
|
||||
closeIssue = false;
|
||||
break; // Break from the loop, no need to check the remaining Labels.
|
||||
}
|
||||
}
|
||||
} catch (error) {
|
||||
|
Loading…
Reference in New Issue
Block a user