-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update new_stale.yml to combine adding stale label + closing stale is…
…sues
- Loading branch information
1 parent
0094464
commit 5956b78
Showing
2 changed files
with
60 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
id: scheduledSearch.updateStaleIssues | ||
name: Update Stale Issues | ||
description: Update stale issues that have not been active in 30 days | ||
resource: repository | ||
configuration: | ||
resourceManagementConfiguration: | ||
scheduledSearches: | ||
- description: >- | ||
Search for Issue where - | ||
* Issue is open | ||
* Issue is not assigned | ||
* Issue has not had activity in the last 30 days | ||
Then - | ||
* Apply the stale label to Issue | ||
frequencies: | ||
- daily: | ||
time: 15:00 | ||
filters: | ||
- isIssue | ||
- isOpen | ||
- isNotAssigned | ||
- isNotLabeledWith: | ||
label: contributions welcome | ||
- isNotLabeledWith: | ||
label: documentation | ||
- isNotLabeledWith: | ||
label: feature request | ||
- isNotLabeledWith: | ||
label: regression | ||
- noActivitySince: | ||
days: 30 | ||
actions: | ||
- addReply: | ||
reply: "Applying stale label due to no activity in 30 days" | ||
- addLabel: | ||
label: stale | ||
- description: | ||
Search for Issue where - | ||
* Issue is open | ||
* Issue is labeled stale | ||
* Issue has not had activity in the last 30 days | ||
|
||
Then - | ||
* Close the issue | ||
frequencies: | ||
- daily: | ||
time: 15:00 | ||
filters: | ||
- hasLabel: | ||
label: stale | ||
- isIssue | ||
- isOpen | ||
- isNotAssigned | ||
- noActivitySince: | ||
days: 30 | ||
actions: | ||
- addReply: | ||
reply: "Closing issue due to no activity in 30 days" | ||
- closeIssue |
This file was deleted.
Oops, something went wrong.