Skip to content

Lock Threads

Lock Threads #428

Workflow file for this run

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.