Skip to content

Lock Threads

Lock Threads #19

Workflow file for this run

name: Lock Threads
on:
schedule:
- cron: '0 0 * * *'
jobs:
lock-threads:
permissions:
issues: write
pull-requests: write
discussions: write
runs-on: ubuntu-latest
name: Run lock threads
steps:
- name: Lock threads
uses: dessant/lock-threads@v5
with:
add-issue-labels: 'locked'
add-pr-labels: 'locked'
add-discussion-labels: 'locked'
issue-inactive-days: 14
issue-comment: This closed issue has been automatically locked because it had no new activity for 2 weeks.
pr-inactive-days: 14
discussion-inactive-days: 14
discussion-comment: This closed discussion has been automatically locked because it had no new activity for 2 weeks.
log-output: true