Skip to content

Commit

Permalink
Remove stale and obsolete from PR's on update (#3431)
Browse files Browse the repository at this point in the history
Bug example: #1782

Shouldn't have closed, but instead was. I assume because it was still
labeled as "obsolete", and it had been 30 days - but only the stale
label had been removed.

I added `labels-to-remove-when-unstale` to all the operations, since I'm
not sure which operation does the work (and figured it couldn't hurt).
  • Loading branch information
markmandel authored Oct 16, 2023
1 parent 85dd69a commit f9a9f39
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/close.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,4 @@ jobs:
close-issue-reason: not_planned
stale-issue-label: wontfix
enable-statistics: true
labels-to-remove-when-unstale: stale,obsolete
1 change: 1 addition & 0 deletions .github/workflows/obsolete.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
'awaiting-maintainer' label. Thank you for your contributions
stale-issue-label: obsolete
only-labels: stale
labels-to-remove-when-unstale: stale,obsolete
exempt-issue-labels: awaiting-maintainer
remove-stale-when-updated: true
ascending: true
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/stale.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,4 @@ jobs:
exempt-issue-labels: awaiting-maintainer, obsolete
ascending: true
enable-statistics: true
labels-to-remove-when-unstale: stale,obsolete

0 comments on commit f9a9f39

Please sign in to comment.