Close Stale Issues #166
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: | |
| - cron: '0 0 * * *' #run daily at midnight | |
| workflow_dispatch: | |
| permissions: | |
| issues: write | |
| jobs: | |
| stale: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/stale@v9 | |
| with: | |
| # docs: https://github.com/actions/stale?tab=readme-ov-file | |
| stale-issue-message: 'Hey there — just a heads-up that this issue has been quiet for over a year. If there’s no update or comment in the next 10 days, it’ll be closed automatically. Feel free to remove the stale label or drop a note to keep it open.' | |
| close-issue-message: 'Hey there — just a quick note that this issue hasn’t had any updates in the last 10 days, so it’s now closed. If you think it still needs attention, feel free to reopen or leave a comment.' | |
| stale-issue-label: 'Stale' | |
| remove-issue-stale-when-updated: true | |
| days-before-issue-stale: 365 | |
| days-before-issue-close: 10 | |
| operations-per-run: 100 | |
| # Flag older Issues first | |
| ascending: true | |
| debug-only: false |