Lock closed PRs #11
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: "Lock closed PRs" | |
| on: | |
| schedule: | |
| - cron: "0 3 * * 0" # every Sunday at 03:00 UTC | |
| workflow_dispatch: | |
| jobs: | |
| lock: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: dessant/lock-threads@v5 | |
| with: | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| pr-inactive-days: 150 | |
| pr-comment: > | |
| This pull request has been automatically locked because it has been closed for 150 days. | |
| Please open a new PR if you want to continue the work. | |
| exclude-any-pr-labels: "keep-open,no-lock" |