stale issue and PR closer #729
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: 'stale issue and PR closer' | |
on: | |
schedule: | |
- cron: '6 4 * * *' | |
permissions: | |
issues: write | |
pull-requests: write | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
timeout-minutes: 2 | |
steps: | |
- uses: actions/stale@v9 | |
with: | |
stale-issue-message: 'This issue is stale because it has been open 80 days with no activity. Remove stale label or comment or this will be closed in 9 days.' | |
stale-pr-message: 'This pull request is stale because it has been open 80 days with no activity. Remove stale label or comment or this will be closed in 9 days.' | |
stale-issue-label: stale | |
stale-pr-label: stale | |
exempt-issue-labels: announcement,planned | |
days-before-stale: 80 | |
days-before-close: 9 |