File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed
Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ name : ' PR: Stale Notifier'
2+
3+ on :
4+ workflow_dispatch :
5+ schedule :
6+ - cron : ' 0 14 * * *'
7+
8+ permissions :
9+ pull-requests : write
10+ issues : write
11+
12+ concurrency :
13+ group : ${{ github.workflow }}
14+ cancel-in-progress : false
15+
16+ jobs :
17+ stale :
18+ runs-on : ubuntu-latest
19+ steps :
20+ - name : Warn and close stale PRs
21+ uses : actions/stale@v10
22+ with :
23+ repo-token : ${{ secrets.GITHUB_TOKEN }}
24+ days-before-issue-stale : -1
25+ days-before-issue-close : -1
26+ days-before-pr-stale : 21
27+ days-before-pr-close : 7
28+ stale-pr-message : |
29+ This pull request has gone three weeks without activity. In another week, I will close it.
30+
31+ But! If you comment or otherwise update it, I will reset the clock, and if you apply the label `PR: no-auto-close` I will leave it alone ... forever!
32+ close-pr-message : |
33+ Closing due to inactivity after stale warning. Comment or reopen when ready to continue, and use `PR: no-auto-close` to opt out of automatic closure.
34+ exempt-pr-labels : ' PR: no-auto-close'
35+ stale-pr-label : ' PR: stale'
36+ remove-pr-stale-when-updated : true
You can’t perform that action at this time.
0 commit comments