Skip to content

Lock threads

Lock threads #259

Workflow file for this run

name: 'Lock threads'
on:
schedule:
- cron: '0 0 * * 0'
workflow_dispatch:
permissions:
contents: read
jobs:
lock:
permissions:
issues: write # for dessant/lock-threads to lock issues
pull-requests: write # for dessant/lock-threads to lock PRs
discussions: write # for dessant/lock-threads to lock discussions
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v5
with:
issue-inactive-days: 31
pr-inactive-days: 31
discussion-inactive-days: 31
issue-comment: >
This issue has been automatically locked since there
has not been any recent activity after it was closed.
Please open a new issue for related bugs.
pr-comment: >
This pull request has been automatically locked since there
has not been any recent activity after it was closed.
discussion-comment: >
This discussion has been automatically locked since there
has not been any recent activity after it was closed.