Close stale issues #444
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Close stale issues' | |
on: | |
schedule: | |
- cron: '30 * * * *' | |
workflow_dispatch: | |
permissions: | |
contents: write # only for delete-branch option | |
issues: write | |
pull-requests: write | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/stale@v9 | |
with: | |
exempt-issue-labels: pending | |
stale-issue-message: '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.' | |
close-issue-message: 'This issue was closed because it has been stalled for 30 days with no activity.' | |
days-before-stale: 60 | |
days-before-close: 30 | |
operations-per-run: 100 | |
days-before-pr-stale: -1 |