Close stale issues and PRs #423
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: | |
schedule: | |
- cron: '0 12 * * 1,2,3,4,5' | |
workflow_dispatch: | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0 | |
with: | |
days-before-pr-stale: 20 | |
days-before-pr-close: 5 | |
stale-pr-message: 'This PR is stale because it has been open 20 days with no activity. It will be closed in 5 days unless you remove the `stale` label or comment.' | |
close-pr-message: 'This PR was closed because it has been marked stale for 5 days with no activity.' | |
exempt-pr-labels: 'stale-exempt' | |
stale-pr-label: 'stale' |