Stale Issues and PRs #9
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: | |
| - cron: '0 0 * * *' # Daily at midnight UTC | |
| workflow_dispatch: | |
| permissions: | |
| issues: write | |
| pull-requests: write | |
| jobs: | |
| stale: | |
| name: Close Stale Issues and PRs | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - name: Stale Issues and PRs | |
| uses: actions/stale@v10 | |
| with: | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} | |
| # Stale 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 7 days if no further activity occurs. | |
| If this issue is still relevant, please add a comment to keep it open. | |
| Thank you for your contributions! | |
| close-issue-message: | | |
| This issue was automatically closed due to inactivity. | |
| If you believe this issue is still relevant, please feel free to reopen it or create a new issue with updated information. | |
| days-before-stale: 60 | |
| days-before-close: 7 | |
| stale-issue-label: 'stale' | |
| exempt-issue-labels: 'pinned,security,bug,enhancement' | |
| # Stale 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. | |
| Please rebase and update if you'd like to continue working on this PR. | |
| close-pr-message: | | |
| This pull request was automatically closed due to inactivity. | |
| If you'd like to continue working on this, please feel free to reopen and update it. | |
| days-before-pr-stale: 30 | |
| days-before-pr-close: 14 | |
| stale-pr-label: 'stale' | |
| exempt-pr-labels: 'pinned,security,work-in-progress' | |
| # Operations per run | |
| operations-per-run: 30 |