Close stale issues and PRs #615
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: "30 1 * * *" | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write # only for delete-branch option | |
issues: write | |
pull-requests: write | |
steps: | |
- uses: actions/stale@v9 | |
with: | |
stale-issue-label: needs-more-info | |
any-of-labels: need-more-info | |
exempt-issue-labels: enhancement, help-wanted | |
days-before-stale: -1 | |
days-before-close: 7 | |
- uses: actions/stale@v9 | |
with: | |
exempt-issue-labels: need-more-info, enhancement, help-wanted | |
stale-issue-message: "This issue has been labeled as stale due to inactivity. Reply to keep this issue open." | |
stale-pr-message: "This pull request has been labeled as stale due to inactivity. Reply to keep this pull request open." |