Lock Threads #1004
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: '0 0 * * *' # check every day | |
workflow_dispatch: | |
permissions: | |
issues: write | |
concurrency: | |
group: lock | |
jobs: | |
action: | |
if: github.repository_owner == 'explosion' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: dessant/lock-threads@v5 | |
with: | |
process-only: 'issues' | |
issue-inactive-days: '30' | |
issue-comment: > | |
This thread has been automatically locked since there | |
has not been any recent activity after it was closed. | |
Please open a new issue for related bugs. |