Skip to content

Lock threads

Lock threads #296

Workflow file for this run

# From https://github.com/marketplace/actions/lock-threads
name: 'Lock threads'
on:
schedule:
- cron: '0 3 * * 1'
permissions:
issues: write
pull-requests: write
jobs:
lock:
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v6
with:
github-token: ${{ github.token }}
issue-inactive-days: '180'
# issue-exclude-created-before: ''
# exclude-any-issue-labels: ''
# add-issue-labels: ''
issue-comment: >
This old thread has been automatically locked. If you think you have
found something related to this, please open a new issue by following
the issue guide (<https://yihui.org/issue/>), and link to this
old issue if necessary.
issue-lock-reason: 'resolved'
pr-inactive-days: '180'
# pr-exclude-created-before: ''
# exclude-any-pr-labels: ''
# add-pr-labels: ''
# pr-comment: ''
# pr-lock-reason: ''
# v5+: discussions are processed by default; restrict to issues/PRs only:
process-only: 'issues, prs'