Mark inactive PRs as stalled #52
This file contains hidden or 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: Mark inactive PRs as stalled | |
| on: | |
| schedule: | |
| - cron: '0 7 * * *' | |
| workflow_dispatch: | |
| permissions: | |
| issues: read | |
| pull-requests: write | |
| jobs: | |
| stale: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/stale@v9 | |
| with: | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} | |
| days-before-stale: 30 | |
| days-before-close: 15 | |
| # Custom messages | |
| stale-pr-message: > | |
| This pull request has been inactive for 30 days. Is it still in progress? | |
| If so, please leave a comment or make an update to keep it open. Otherwise, it will be automatically closed in 15 days. | |
| close-pr-message: > | |
| This pull request was automatically closed due to prolonged inactivity. | |
| # Labels | |
| stale-pr-label: stalled | |
| exempt-pr-labels: 'dependencies,blocked' | |
| exempt-draft-pr: true | |
| ascending: true | |
| # Do not process issues | |
| days-before-issue-stale: -1 | |
| days-before-issue-close: -1 |