| 1 |
--- |
| 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 |
jobs: |
| 12 |
stale: |
| 13 |
runs-on: ubuntu-latest |
| 14 |
steps: |
| 15 |
- uses: actions/stale@4391f3da665fdf50b6810c1a66712fb9ba21aa93 # v11.0.0 |
| 16 |
with: |
| 17 |
stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.' |
| 18 |
days-before-stale: 30 |
| 19 |
days-before-close: 5 |
| 20 |
enable-statistics: true |
| 21 |
exempt-issue-labels: 'keep' |