Mark Stale Issues and PRs #165
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
| # Maintainer-only: Repository automation workflow | |
| # Contributors cannot modify this file. Changes to automation policies require maintainer approval. | |
| name: Mark Stale Issues and PRs | |
| on: | |
| schedule: | |
| # Run daily at 00:00 UTC | |
| - cron: '0 0 * * *' | |
| workflow_dispatch: # Allow manual triggering | |
| jobs: | |
| stale: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| issues: write | |
| pull-requests: write | |
| steps: | |
| - uses: actions/stale@v9 | |
| with: | |
| # Issues configuration | |
| stale-issue-message: | | |
| This issue has been automatically marked as stale because it has not had recent activity. | |
| It will be closed if no further activity occurs within 7 days. Thank you for your contributions. | |
| close-issue-message: | | |
| This issue was automatically closed due to inactivity. If you believe this is still relevant, | |
| please feel free to reopen it or create a new issue. | |
| days-before-issue-stale: 60 | |
| days-before-issue-close: 7 | |
| stale-issue-label: 'stale' | |
| exempt-issue-labels: 'pinned,security,bug,enhancement' | |
| only-issue-labels: '' | |
| # PRs configuration | |
| stale-pr-message: | | |
| This pull request has been automatically marked as stale because it has not had recent activity. | |
| It will be closed if no further activity occurs within 7 days. Thank you for your contributions. | |
| close-pr-message: | | |
| This pull request was automatically closed due to inactivity. If you believe this is still relevant, | |
| please feel free to reopen it or create a new pull request. | |
| days-before-pr-stale: 30 | |
| days-before-pr-close: 7 | |
| stale-pr-label: 'stale' | |
| exempt-pr-labels: 'pinned,security' | |
| only-pr-labels: '' | |
| # General configuration | |
| operations-per-run: 30 | |
| ascending: true | |
| remove-stale-when-updated: true | |
| delete-branch: false | |