Add lock-threads workflow - #247
Merged
Merged
Conversation
Lock closed issues and PRs after 14 days of inactivity, matching the setup in the Unleashed firmware repo. Runs daily at 03:00 UTC and can be kicked off by hand via workflow_dispatch. Locking is not closing: it only stops new comments on already-closed threads, and anyone can still open a fresh issue from the templates. The bot comment is reworded for this repo - it asks people to name the app they are hitting the problem in, since this tracker is per-app. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Mirrors the
Lock threadsworkflow from the Unleashed firmware repo.Closed issues and PRs get locked after 14 days of inactivity, so stale threads stop accumulating "me too" / necro comments that never reach a maintainer. Locking is not closing - it only stops new comments, nothing is auto-closed, and anyone can still open a fresh issue from the templates.
workflow_dispatchfor manual sweepsissues: write/pull-requests: writeonly; no checkout, no code executionconcurrencygroup so a manual run and the nightly cron cannot overlapresolvedon both issues and PRsdessant/lock-threads@v6(current major, latest release v6.0.2)The only difference from the Unleashed copy is the comment wording: this tracker is per-app, so it asks people to name the affected app instead of pointing at a firmware version.
The existing backlog (169 closed issues + 69 closed/merged PRs) has already been locked with reason
resolvedand no comment, so this workflow's first run has nothing to back-fill and will not comment on any old thread.🤖 Generated with Claude Code