File tree Expand file tree Collapse file tree 1 file changed +3
-20
lines changed
Expand file tree Collapse file tree 1 file changed +3
-20
lines changed Original file line number Diff line number Diff line change 1- # Ref: https://github.com/actions/stale
21name : Handle stale issues and PRs
32
43on :
54 schedule :
6- # run once a week at midnight of sunday
7- - cron : 0 0 * * 0
5+ # run once a month at midnight of the first day of the month
6+ - cron : 0 0 1 * *
87 workflow_dispatch : # run manually from actions tab
98
109# Set permissions at the job level.
1110permissions : {}
1211
1312jobs :
1413 stale :
15- runs-on : ubuntu-24.04
1614 permissions :
1715 issues : write
1816 pull-requests : write
19- steps :
20- - uses : actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0
21- with :
22- days-before-stale : 60
23- # handle issues: set to abandoned, close after 7 days with message
24- days-before-issue-close : 7
25- stale-issue-label : ' status: abandoned'
26- stale-issue-message : |
27- This issue is stale because it has been open 60 days without activity.
28- Remove 'abandoned' label or comment or this will be closed in 7 days.
29- close-issue-message : This issue was closed because it has been stalled for 7 days with no activity.
30-
31- # handle pull requests: set to abandoned, but do not close per bot
32- days-before-pr-close : -1 # never close PRs
33- stale-pr-label : ' status: abandoned'
34- stale-pr-message : This PR is stale because it has been open 60 days without activity.
17+ uses : afuetterer/.github/.github/workflows/_stale.yml@main
You can’t perform that action at this time.
0 commit comments