Close Stale Issues #52
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: Close Stale Issues | |
| on: | |
| schedule: | |
| # Run daily at 00:00 UTC | |
| - cron: '0 0 * * *' | |
| workflow_dispatch: # Allow manual trigger | |
| permissions: | |
| issues: write | |
| pull-requests: write | |
| jobs: | |
| stale: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/stale@v9 | |
| with: | |
| # Issues | |
| stale-issue-message: | | |
| This issue has been automatically marked as stale because it has not had any activity for 14 days. | |
| If this issue is still relevant, please add a comment to keep it open. Otherwise, it will be automatically closed in 7 days. | |
| Thank you for your contributions! | |
| close-issue-message: | | |
| This issue has been automatically closed due to inactivity. | |
| If you believe this issue is still relevant, feel free to reopen it or create a new issue with updated information. | |
| days-before-stale: 14 | |
| days-before-close: 7 | |
| stale-issue-label: 'stale' | |
| exempt-issue-labels: 'pinned,security,bug,enhancement' | |
| # Pull Requests (optional - you can adjust these) | |
| stale-pr-message: | | |
| This pull request has been automatically marked as stale because it has not had any activity for 14 days. | |
| If this PR is still relevant, please add a comment or push new commits to keep it open. Otherwise, it will be automatically closed in 7 days. | |
| close-pr-message: | | |
| This pull request has been automatically closed due to inactivity. | |
| If you would like to continue working on this, feel free to reopen it. | |
| days-before-pr-stale: 14 | |
| days-before-pr-close: 7 | |
| stale-pr-label: 'stale' | |
| exempt-pr-labels: 'pinned,security' | |
| # General settings | |
| operations-per-run: 30 | |
| remove-stale-when-updated: true | |
| ascending: false |