File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed
Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change 1+ name : " Close stale issues and pull requests"
2+ on :
3+ workflow_dispatch :
4+ schedule :
5+ - cron : " 12 5 * * *" # arbitrary time not to DDOS GitHub
6+
7+ jobs :
8+ stale :
9+ runs-on : ubuntu-24.04
10+ env :
11+ GH_TOKEN : ${{ github.token }}
12+ steps :
13+ - name : Check rate_limit before
14+ run : gh api /rate_limit
15+ - uses : actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 # v9.1.0
16+ with :
17+ repo-token : ${{ secrets.GITHUB_TOKEN }}
18+ stale-pr-message : ' This PR was marked stale due to lack of activity. It will be closed in 14 days.'
19+ close-pr-message : ' Closed as inactive. Feel free to reopen if this PR is still being worked on.'
20+ close-issue-message : ' This issue has been closed as inactive because it has been stale for 120 days with no activity.'
21+ close-issue-label : ' closed as inactive'
22+ days-before-pr-stale : 14
23+ days-before-issue-stale : 60
24+ days-before-pr-close : 14
25+ days-before-issue-close : 60
26+ exempt-issue-labels : ' never stale,renovatebot'
27+ ascending : true
28+ operations-per-run : 6000
29+ exempt-pr-labels : ' never stale,renovatebot'
30+ - name : Check rate_limit after
31+ run : gh api /rate_limit
You can’t perform that action at this time.
0 commit comments