Close stale issues #83
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 * * *" # Runs once per day | |
| workflow_dispatch: # Allows manual triggering | |
| permissions: | |
| issues: write | |
| jobs: | |
| stale: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/stale@v9 | |
| with: | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} | |
| days-before-stale: 30 | |
| days-before-close: 7 | |
| stale-issue-message: "This issue has been marked as stale because it has been inactive for 30 days. It will be closed in 7 days if no further activity occurs." | |
| close-issue-message: "Closing this issue due to inactivity. Feel free to reopen if needed." | |
| exempt-issue-labels: "pinned,important" |