Close stale issues and PRs #573
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 and PRs' | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 */2 * * *' | |
permissions: | |
issues: write | |
pull-requests: write | |
actions: write | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/stale@v9 | |
with: | |
days-before-stale: 365 | |
days-before-close: -1 | |
stale-issue-message: 'This issue is now marked stale because it has been open over a year without activity. Remove the stale label or add a comment to reset the stale state.' | |
stale-issue-label: Stale | |
stale-pr-message: 'This pull request is now marked stale because it has been open over a year without activity. Remove the stale label or add a comment to reset the stale state.' | |
stale-pr-label: Stale | |
exempt-issue-labels: Roadmap | |
exempt-pr-labels: Roadmap | |
operations-per-run: 1000 | |
debug-only: false |