Stale issues and PRs #12
This file contains hidden or 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 issues and PRs" | |
| on: | |
| schedule: | |
| - cron: "0 2 * * *" | |
| workflow_dispatch: | |
| permissions: | |
| issues: write | |
| pull-requests: write | |
| jobs: | |
| stale: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/stale@v9 | |
| with: | |
| repo-token: ${{ secrets.BOT_GITHUB_TOKEN }} | |
| stale-issue-label: stale | |
| stale-pr-label: stale | |
| days-before-issue-stale: 30 | |
| days-before-issue-close: 14 | |
| days-before-pr-stale: 45 | |
| days-before-pr-close: 21 | |
| exempt-issue-labels: "pinned,security,help-wanted,good-first-issue,in-progress" | |
| exempt-pr-labels: "pinned,security,in-progress,blocked" | |
| stale-issue-message: "This issue has been inactive for 30 days and will be closed in 14 days unless there is new activity." | |
| stale-pr-message: "This PR has been inactive for 45 days and will be closed in 21 days unless there is new activity." |