Close stale issues and PRs #332
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' | |
permissions: | |
contents: read | |
on: | |
schedule: | |
- cron: '0 0 * * *' | |
workflow_dispatch: | |
jobs: | |
stale: | |
permissions: | |
issues: write # required to close stale issues | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/stale@v9 | |
with: | |
stale-issue-message: 'This issue has not been updated in 30 days, and will close in 5 days from now if no updates are made.' | |
days-before-stale: 30 | |
days-before-close: 5 | |
days-before-pr-stale: -1 | |
days-before-pr-close: -1 | |
only-issue-labels: 'Runtime Error' |