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 : Mark stale issues and pull requests
2+
3+ # Please refer to https://github.com/actions/stale/blob/master/action.yml
4+ # to see all config knobs of the stale action.
5+
6+ on :
7+ schedule :
8+ - cron : " 0 0 * * *"
9+
10+ permissions :
11+ contents : read
12+
13+ jobs :
14+ stale :
15+
16+ permissions :
17+ issues : write # for actions/stale to close stale issues
18+ pull-requests : write # for actions/stale to close stale PRs
19+ runs-on : ubuntu-latest
20+
21+ steps :
22+ - uses : actions/stale@v9
23+ with :
24+ repo-token : ${{ secrets.GITHUB_TOKEN }}
25+ stale-issue-message : ' A friendly reminder that this issue had no activity for 30 days.'
26+ stale-pr-message : ' A friendly reminder that this PR had no activity for 30 days.'
27+ stale-issue-label : ' stale-issue'
28+ stale-pr-label : ' stale-pr'
29+ days-before-stale : 30
30+ days-before-close : 365
31+ remove-stale-when-updated : true
You can’t perform that action at this time.
0 commit comments