Mark Stale Issues and PRs #3
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: "Mark Stale Issues and PRs" | |
| on: | |
| schedule: | |
| - cron: "0 0 * * *" | |
| workflow_dispatch: | |
| jobs: | |
| stale: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| issues: write | |
| pull-requests: write | |
| steps: | |
| - uses: actions/stale@v9 | |
| with: | |
| stale-issue-message: > | |
| This issue has been automatically marked as stale due to 30 days of inactivity. | |
| stale-pr-message: > | |
| This pull request has been automatically marked as stale due to 14 days of inactivity. | |
| If this is still relevant, please update it or leave a comment. | |
| # Mark issues as stale after 30 days | |
| days-before-issue-stale: 30 | |
| # Effectively never close issues or PRs | |
| days-before-issue-close: 99999 | |
| days-before-pr-close: -1 | |
| # Mark PRs as stale after 14 days but never auto-close | |
| days-before-pr-stale: 14 | |
| stale-issue-label: "stale" | |
| stale-pr-label: "stale" | |
| remove-stale-when-updated: true |