Lock Threads #9006
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: 'Lock Threads' | |
on: | |
schedule: | |
- cron: '* 6 * * *' | |
permissions: | |
contents: read | |
jobs: | |
lock: | |
permissions: | |
issues: write | |
pull-requests: write | |
runs-on: ubuntu-latest | |
steps: | |
- uses: dessant/lock-threads@v4 | |
with: | |
github-token: ${{ github.token }} | |
issue-lock-inactive-days: '30' | |
issue-lock-comment: > | |
This issue has been automatically locked. To avoid confusion | |
with reports that have already been resolved, closed issues | |
are automatically locked 30 days after the last comment. | |
Please open a new issue for related bugs. | |
pr-lock-comment: > | |
This pull request has been automatically locked. | |
Pull requests that have been closed are automatically | |
locked 30 days after the last comment. |