File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Close stale issues and PRs
2
+
3
+ on :
4
+ workflow_dispatch :
5
+ schedule :
6
+ - cron : " 0 0 * * *"
7
+
8
+ permissions :
9
+ issues : write
10
+ pull-requests : write
11
+
12
+ jobs :
13
+ stale :
14
+ runs-on : ubuntu-latest
15
+ steps :
16
+ - uses : actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0
17
+ id : stale
18
+ with :
19
+ delete-branch : true
20
+ days-before-close : 60
21
+ days-before-stale : 90
22
+ stale-issue-label : " stale"
23
+ exempt-issue-labels : bug,wip,on-hold
24
+ exempt-pr-labels : bug,wip,on-hold
25
+ exempt-all-milestones : true
26
+ stale-issue-message : ' This issue is stale because it has been open 90 days with no activity.'
27
+ stale-pr-message : ' This PR is stale because it has been open 90 days with no activity.'
28
+ close-issue-message : ' This issue was closed because it has been stalled for 60 days with no activity.'
29
+ close-pr-message : ' This PR was closed because it has been stalled for 60 days with no activity.'
You can’t perform that action at this time.
0 commit comments