Stale issue handler #1209
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 handler' | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 7 * * *' | |
permissions: | |
actions: write | |
issues: write | |
pull-requests: write | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/stale@v9 | |
id: stale | |
with: | |
stale-issue-message: 'This Issue will be closed in 30 days. Please remove the "Stale" label or comment to avoid closure with no action.' | |
stale-pr-message: 'This PR will be closed in 30 days. Please remove the "Stale" label or comment to avoid closure with no action.' | |
operations-per-run: 200 | |
days-before-stale: 300 | |
days-before-close: 30 | |
stale-issue-label: 'stale' | |
stale-pr-label: 'stale' | |
close-issue-label: 'closed' | |
close-pr-label: 'closed' | |
exempt-issue-labels: 'bug,enhancement,documentation,waiting,keep' | |
exempt-pr-labels: 'waiting,keep' | |
exempt-all-milestones: true | |
exempt-all-assignees: true |