File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 1+ name : ' Close stale issues'
2+ on :
3+ schedule :
4+ # run at 1:30 every day
5+ - cron : ' 30 1 * * *'
6+
7+ permissions :
8+ issues : write
9+
10+ jobs :
11+ stale :
12+ runs-on : ubuntu-latest
13+ steps :
14+ - uses : actions/stale@v9
15+ with :
16+ repo-token : ${{ secrets.GITHUB_TOKEN }}
17+ # start from the oldest issues when performing stale operations
18+ ascending : true
19+ days-before-issue-stale : 365
20+ days-before-issue-close : 30
21+ stale-issue-label : stale
22+ exempt-issue-labels : no stalebot,type/epic
23+ stale-issue-message : >
24+ This issue has been automatically marked as stale because it has not had
25+ activity in the last year. It will be closed in 30 days if no further activity occurs. Please
26+ feel free to leave a comment if you believe the issue is still relevant.
27+ Thank you for your contributions!
28+ close-issue-message : >
29+ This issue has been automatically closed because it has not had any further
30+ activity in the last 30 days. Thank you for your contributions!
You can’t perform that action at this time.
0 commit comments