Mark stale issues and pull requests #13
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 pull requests" | |
| on: | |
| schedule: | |
| # Running at 04:17 UTC to avoid peak server load | |
| - cron: "17 4 * * *" | |
| workflow_dispatch: | |
| jobs: | |
| stale: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| issues: write | |
| pull-requests: write | |
| steps: | |
| - uses: actions/stale@v9 | |
| with: | |
| # Timing | |
| days-before-stale: 30 | |
| days-before-close: 7 | |
| # Issues configuration | |
| stale-issue-label: "no-recent-activity" | |
| stale-issue-message: "This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days." | |
| # Pull Request configuration (restored) | |
| stale-pr-label: "stale" | |
| stale-pr-message: "This PR is stale because it has been open 30 days with no activity." | |
| # Exemptions | |
| exempt-issue-labels: "confirmed,pinned,security" |