Skip to content

Commit cfd5667

Browse files
authored
Enhance stale issue management with new label checks (microsoft#26982)
- Updated stale issue policy to include 'no stale' label checks and modified reply message. - Do not reopen closed stale issues automatically, as it is just noisy. Instead, we could encourage issue owners to reopen manually or create new issues.
1 parent 912f652 commit cfd5667

1 file changed

Lines changed: 5 additions & 12 deletions

File tree

.github/policies/updateStaleIssues.yml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,13 @@ configuration:
2020
label: feature request
2121
- isNotLabeledWith:
2222
label: regression
23+
- isNotLabeledWith:
24+
label: no stale
2325
- noActivitySince:
2426
days: 30
2527
actions:
2628
- addReply:
27-
reply: "Applying stale label due to no activity in 30 days"
29+
reply: "Applying stale label due to no activity in 30 days. Please react to the issue by assigning it or labeling it as 'contributions welcome', 'documentation', 'feature request', 'regression', or 'no stale'."
2830
- addLabel:
2931
label: stale
3032
- description: Close open, unassigned issues labeled stale that have not been updated in the last 30 days
@@ -37,6 +39,8 @@ configuration:
3739
- isIssue
3840
- isOpen
3941
- isNotAssigned
42+
- isNotLabeledWith:
43+
label: no stale
4044
- noActivitySince:
4145
days: 30
4246
actions:
@@ -52,14 +56,3 @@ configuration:
5256
then:
5357
- removeLabel:
5458
label: stale
55-
- description: Re-open stale issue if closed stale issue is commented on
56-
if:
57-
- payloadType: Issue_Comment
58-
- and:
59-
- not:
60-
isOpen
61-
- hasLabel:
62-
label: stale
63-
then:
64-
- reopenIssue
65-

0 commit comments

Comments
 (0)