Stale Issues and PRs #72
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: | |
| # Run daily at midnight UTC | |
| - cron: '0 0 * * *' | |
| workflow_dispatch: | |
| permissions: read-all | |
| jobs: | |
| stale: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| issues: write | |
| pull-requests: write | |
| steps: | |
| - name: Mark stale issues and PRs | |
| uses: actions/stale@v9 | |
| with: | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} | |
| # Issue settings | |
| stale-issue-message: | | |
| This issue has been automatically marked as stale because it has not had recent activity. | |
| It will be closed in 14 days if no further activity occurs. | |
| If this issue is still relevant, please comment or remove the stale label. | |
| stale-issue-label: 'stale' | |
| days-before-issue-stale: 60 | |
| days-before-issue-close: 14 | |
| exempt-issue-labels: 'pinned,security,bug,enhancement,help wanted,good first issue' | |
| # PR settings | |
| stale-pr-message: | | |
| This pull request has been automatically marked as stale because it has not had recent activity. | |
| It will be closed in 14 days if no further activity occurs. | |
| If this PR is still relevant, please comment, push changes, or remove the stale label. | |
| stale-pr-label: 'stale' | |
| days-before-pr-stale: 30 | |
| days-before-pr-close: 14 | |
| exempt-pr-labels: 'pinned,security,work-in-progress' | |
| # Close message | |
| close-issue-message: 'This issue was closed due to inactivity. Feel free to reopen if still relevant.' | |
| close-pr-message: 'This PR was closed due to inactivity. Feel free to reopen if still relevant.' | |
| # Operations per run (to avoid rate limiting) | |
| operations-per-run: 100 |