Skip to content

Lock Inactive Threads #460

Lock Inactive Threads

Lock Inactive Threads #460

Workflow file for this run

name: Lock Inactive Threads
on:
schedule:
- cron: "0 5 * * *"
workflow_dispatch:
permissions:
contents: read
concurrency:
group: lock
jobs:
lock:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- name: Harden Runner
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
with:
egress-policy: audit
- uses: dessant/lock-threads@1bf7ec25051fe7c00bdd17e6a7cf3d7bfb7dc771 # v5.0.1
with:
github-token: ${{ secrets.TOKEN }}
add-issue-labels: "outdated"
issue-inactive-days: "3"
include-any-issue-labels: "wontfix, invalid, wait, Configuration incorrect, Bug: False Alarm, Bug: Xplora® wontfix"
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-inactive-days: "30"
pr-comment: >
This pull request has been automatically locked since there
has not been any recent activity after it was closed.
Please open a new issue for related bugs.