Close stale issues and PRs #623
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
# https://github.com/marketplace/actions/close-stale-issues | |
name: 'Close stale issues and PRs' | |
on: | |
schedule: | |
- cron: '0 12 * * *' # daily at 12:00 | |
permissions: | |
issues: write | |
pull-requests: write | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/stale@v4 | |
with: | |
stale-pr-message: 'This PR is stale because it has been open 7 days with no activity. Remove stale label or comment or this will be closed in 7 days.' | |
days-before-stale: 7 | |
days-before-close: 7 | |
delete-branch: true |