Stale Issues and PRs #230
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 every day at midnight UTC | |
| - cron: '0 0 * * *' | |
| workflow_dispatch: | |
| permissions: | |
| issues: write | |
| pull-requests: write | |
| jobs: | |
| stale: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Mark stale issues and PRs | |
| uses: actions/stale@v9 | |
| with: | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} | |
| # Issue configuration | |
| 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. | |
| Thank you for your contributions! | |
| 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 configuration | |
| 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 you're still working on this, please comment or push new commits. | |
| Thank you for your contributions! | |
| stale-pr-label: 'stale' | |
| days-before-pr-stale: 45 | |
| days-before-pr-close: 14 | |
| exempt-pr-labels: 'pinned,work in progress,dependencies' | |
| # Close message | |
| close-issue-message: > | |
| This issue has been closed due to inactivity. If you believe this is still | |
| relevant, please open a new issue with updated information. | |
| close-pr-message: > | |
| This PR has been closed due to inactivity. Feel free to reopen or create | |
| a new PR if you'd like to continue working on this. | |
| # Operation limits | |
| operations-per-run: 100 |