|
| 1 | +# https://github.com/actions/stale |
| 2 | +name:'Close stale issues and PRs' |
| 3 | +on: |
| 4 | +schedule: |
| 5 | + -cron:'30 1 * * *' |
| 6 | + |
| 7 | +permissions: |
| 8 | +issues:write |
| 9 | +pull-requests:write |
| 10 | + |
| 11 | +concurrency: |
| 12 | +group:lock |
| 13 | + |
| 14 | +jobs: |
| 15 | +stale: |
| 16 | +runs-on:ubuntu-latest |
| 17 | +steps: |
| 18 | + -uses:actions/stale@v4 |
| 19 | +with: |
| 20 | +any-of-labels:'need info,Waiting for response' |
| 21 | +stale-issue-message:> |
| 22 | + This issue was marked stale because it has been open 60 days with no |
| 23 | + activity. Please remove the stale label or comment on this issue. Otherwise, |
| 24 | + it will be closed in 15 days. |
| 25 | +days-before-issue-stale:60 |
| 26 | +days-before-issue-close:15 |
| 27 | +close-issue-message:> |
| 28 | + This issue was closed because it has been marked stale for 15 days with no |
| 29 | + activity. If this issue is still valid, please re-open. |
| 30 | +
|
| 31 | +stale-pr-message:> |
| 32 | + This Pull Request (PR) was marked stale because it has been open 90 days |
| 33 | + with no activity. Please remove the stale label or comment on this PR. |
| 34 | + Otherwise, it will be closed in 15 days. |
| 35 | +days-before-pr-stale:90 |
| 36 | +days-before-pr-close:15 |
| 37 | +close-pr-message:> |
| 38 | + This PR was closed because it has been marked stale for 15 days with no |
| 39 | + activity. If this PR is still valid, please re-open. |
| 40 | +
|