File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Stale Issues and PRs
2
+ on :
3
+ schedule :
4
+ - cron : " 0 8 * * *"
5
+ workflow_dispatch :
6
+ inputs :
7
+ dryRun :
8
+ description : Set to true for a dry run
9
+ required : false
10
+ default : " false"
11
+ type : string
12
+
13
+ jobs :
14
+ stale :
15
+ runs-on : ubuntu-latest
16
+ steps :
17
+ - name : Stale issues and PRs
18
+ id : stale-issues-and-prs
19
+ uses : actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 # v9.1.0
20
+ with :
21
+ close-issue-message : |
22
+ This issue was closed because it has been stalled for 90 days with no activity.
23
+ close-issue-reason : ' not_planned'
24
+ close-pr-message : |
25
+ This PR was closed because it has been stalled for 90 days with no activity.
26
+ # Set days-before-close to 30 because we want to close the issue/PR after 90 days total, since days-before-stale is set to 60
27
+ days-before-close : 30
28
+ days-before-stale : 60
29
+ debug-only : ${{ inputs.dryRun }}
30
+ exempt-issue-labels : ' good first issue,help wanted'
31
+ repo-token : ${{ secrets.GITHUB_TOKEN }}
32
+ stale-issue-label : ' stale'
33
+ stale-issue-message : |
34
+ This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.
35
+ stale-pr-label : ' stale'
36
+ stale-pr-message : |
37
+ This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.
38
+ start-date : " 2021-02-09"
39
+ operations-per-run : 1000
You can’t perform that action at this time.
0 commit comments