@@ -17,11 +17,14 @@ jobs:
1717 pull-requests : write # for actions/stale to close stale PRs
1818 runs-on : ubuntu-latest
1919 steps :
20+ # Action #1: Handle issues/PRs awaiting author feedback
21+ # - After 7 days inactive: Adds "stale" label + warning comment
22+ # - After 7 more days inactive: Closes
2023 - uses : actions/stale@3a9db7e6a41a89f618792c92c0e97cc736e1b13f # v10.0.0
2124 with :
25+ only-labels : " needs author feedback"
2226 days-before-stale : 7
2327 days-before-close : 7
24- only-labels : " needs author feedback"
2528 stale-issue-label : stale
2629 stale-issue-message : >
2730 This issue has been labeled as stale due to lack of activity and needing author feedback.
@@ -31,21 +34,27 @@ jobs:
3134 This PR has been labeled as stale due to lack of activity and needing author feedback.
3235 It will be automatically closed if there is no further activity over the next 7 days.
3336
37+ # Action #2: Close old enhancement requests
38+ # - Targets: Issues with "enhancement" label (but NOT "needs author feedback")
39+ # - After 365 days inactive: Adds "stale" label + closes immediately (no warning period)
40+ # - Skips: Issues with "needs author feedback" to avoid conflicts with Action #1
3441 - uses : actions/stale@3a9db7e6a41a89f618792c92c0e97cc736e1b13f # v10.0.0
3542 with :
43+ only-labels : " enhancement"
44+ # Skip issues that need author feedback (handled by the first action with 7+7 day policy)
45+ exempt-issue-labels : " needs author feedback"
46+ days-before-pr-stale : -1
47+ days-before-pr-close : -1
3648 days-before-stale : 365
3749 days-before-close : 0
3850 close-issue-label : stale
3951 close-issue-message : >
4052 Since there has been no activity on this enhancement for the past year we are closing it to help maintain our backlog.
4153 Anyone who would like to work on it is still welcome to do so, and we can re-open it at that time.
42- days-before-pr-stale : -1
43- days-before-pr-close : -1
44- only-labels : " enhancement"
45- # "stale" exemption: so that it won't close issues labeled as stale by "needs author feedback"
46- # "needs author feedback" exemption: so that it won't remove the stale label added by the first action
47- exempt-issue-labels : " stale,needs author feedback"
4854
55+ # Action #3: Handle stale PRs
56+ # - After 180 days inactive: Adds "stale" label + warning comment
57+ # - After 14 more days inactive: Closes
4958 - uses : actions/stale@3a9db7e6a41a89f618792c92c0e97cc736e1b13f # v10.0.0
5059 with :
5160 days-before-issue-stale : -1
0 commit comments