File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Mark and Close Dormant Issues
2+
3+ on :
4+ schedule :
5+ - cron : " 0 2 * * *" # daily
6+ workflow_dispatch :
7+
8+ jobs :
9+ stale :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/stale@v9
13+ with :
14+ repo-token : ${{ secrets.GITHUB_TOKEN }}
15+
16+ # 6 months ≈ 180 days
17+ days-before-stale : 180
18+ # 3 weeks = 21 days
19+ days-before-close : 21
20+
21+ stale-issue-label : " inactive"
22+ close-issue-label : " dormant"
23+
24+ stale-issue-message : >
25+ This issue has been inactive for 6 months.
26+ It will be closed as dormant in 3 weeks if no further activity occurs.
27+
28+ close-issue-message : >
29+ Closing this issue as dormant due to continued inactivity.
30+
31+ # Optional but recommended
32+ # exempt-issue-labels:
33+ operations-per-run : 100
34+ remove-stale-when-updated : true
35+ only-issues : true
You can’t perform that action at this time.
0 commit comments