Manage stale issues and pull requests #67
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: 'Manage stale issues and pull requests' | |
permissions: | |
issues: write | |
pull-requests: write | |
on: | |
schedule: | |
# Sundays and Wednesdays at 8:17 p.m. UTC | |
- cron: '17 20 * * 0,3' | |
workflow_dispatch: | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0 | |
with: | |
# process older PRs first | |
ascending: true | |
operations-per-run: 100 | |
stale-issue-label: 'stale' | |
stale-pr-label: 'stale' | |
exempt-issue-labels: 'bug,keep-open' | |
exempt-pr-labels: 'keep-open' | |
close-issue-message: 'Closed due to inactivity. Re-open and remove "stale" label if it should remain open for an additional period of time' | |
close-pr-message: 'Closed due to inactivity. Re-open and remove "stale" label if it should remain open for an additional period of time' |