Close Stale Issues #94
This file contains 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 daily at midnight | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
pull-requests: write | |
steps: | |
- name: Close stale issues and pull requests | |
uses: actions/stale@v8 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
stale-issue-message: 'This issue has been marked as stale due to inactivity. It will be closed if no further activity occurs.' | |
stale-pr-message: 'This pull request has been marked as stale due to inactivity. It will be closed if no further activity occurs.' | |
days-before-stale: 30 | |
days-before-close: 7 | |