Close stale issues #42
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
| # YAML configuration for Stale Bot | |
| name: Close stale issues | |
| on: | |
| schedule: | |
| - cron: '0 0 * * *' # Run daily at midnight UTC | |
| jobs: | |
| stale: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Close stale issues and PRs | |
| uses: actions/stale@v8 | |
| with: | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} | |
| stale-issue-message: 'This issue has been automatically marked as stale due to inactivity.' | |
| stale-pr-message: 'This pull request has been automatically marked as stale due to inactivity.' | |
| days-before-stale: 30 | |
| days-before-close: 7 |