Close stale issues and PRs #163
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 and PRs' | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 0 * * *' | |
permissions: | |
issues: write | |
pull-requests: write | |
actions: write | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/stale@v9 | |
with: | |
stale-issue-message: 'Issue will be closed due to inactivity. Please comment if you would like to keep it open.' | |
stale-pr-message: 'PR will be closed due to inactivity. Please comment if you would like to keep it open.' | |
days-before-stale: 30 | |
operations-per-run: 100 |