|
1 |
| -name:'Close stale issues' |
| 1 | +name:'Close stale issues and PRs' |
2 | 2 | on:
|
3 | 3 | schedule:
|
4 | 4 | -cron:'0 14 * * *'
|
5 | 5 |
|
6 | 6 | permissions:
|
7 | 7 | issues:write
|
| 8 | +pull-requests:write |
8 | 9 |
|
9 | 10 | jobs:
|
10 | 11 | stale:
|
11 | 12 | runs-on:ubuntu-latest
|
12 | 13 | steps:
|
13 | 14 | -uses:actions/stale@v9
|
14 | 15 | with:
|
15 |
| -stale-issue-message:'This issue is stale, and will be closed in 3 days if no reply is received.' |
16 |
| -close-issue-message:'Closing this issue as it has been inactive for 10 days.' |
17 |
| -any-of-labels:'question,more info' |
18 | 16 | days-before-stale:7
|
19 | 17 | days-before-close:3
|
| 18 | + |
| 19 | +any-of-issue-labels:'question,more info' |
| 20 | +stale-issue-message:'This issue is stale, and will be closed in 3 days if no reply is received.' |
| 21 | +close-issue-message:'Closing this issue as it has been inactive for 10 days.' |
| 22 | + |
| 23 | +any-of-pr-labels:'awaiting author revision' |
| 24 | +stale-pr-message:'This PR is stale, and will be closed in 3 days if no reply is received.' |
| 25 | +close-pr-message:'Closing this PR as it has been inactive for 10 days.' |