Close stale PRs #10
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: "Close stale PRs" | |
| on: | |
| schedule: | |
| # Run daily at 00:00 UTC | |
| - cron: "0 0 * * *" | |
| workflow_dispatch: | |
| permissions: | |
| pull-requests: write | |
| jobs: | |
| stale: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/stale@v10 | |
| with: | |
| days-before-stale: 30 | |
| days-before-close: 30 | |
| stale-pr-message: > | |
| This pull request has been automatically marked as stale because it has not had | |
| recent activity. It will be closed in 30 days if no further activity occurs. | |
| close-pr-message: > | |
| This pull request has been automatically closed because it has not had activity | |
| in 60 days. Feel free to reopen if this is still relevant. | |
| stale-pr-label: "lifecycle/stale" | |
| exempt-pr-labels: "lifecycle/frozen" | |
| days-before-issue-stale: -1 | |
| days-before-issue-close: -1 |