Stale pull request handler #1015
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: Stale pull request handler | |
on: | |
schedule: | |
- cron: 0 0 * * * | |
permissions: | |
pull-requests: write | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/stale@v9.0.0 | |
id: stale | |
with: | |
days-before-stale: -1 | |
days-before-pr-stale: 28 | |
days-before-pr-close: 14 | |
stale-pr-label: stale | |
stale-pr-message: >- | |
This pull request is stale because it has been open for 4 weeks with no activity. | |
Remove stale label or comment or this will be closed in 2 weeks. |