| REPOMATIC-LOCK-THREADS(1) | REPOMATIC-LOCK-THREADS(1) |
repomatic lock-threads - Lock closed, inactive issues and PRs
repomatic lock-threads [OPTIONS]
Lock closed issues and pull requests left inactive too long.
Keeps spam and necro-posting off threads whose discussion is over, without touching anything still moving: the clock counts from a thread's last update, so a closed issue people are still replying to keeps resetting it.
Locking is one-way here. Nothing unlocks a thread on a schedule, and a thread already locked never reappears in the search, so re-running the command right after a run finds nothing left to do.
Issues repomatic maintains itself are excluded by default: they are meant to reopen when their condition recurs, which a lock would block.
Requires the gh CLI to be authenticated.
Preview what a run would lock
repomatic lock\-threads
Lock them, as the autolock workflow does
repomatic lock\-threads \-\-live
Lock silently after six months, sparing triaged threads
repomatic lock\-threads \-\-live \-\-inactive\-days 180 \-\-issue\-comment "" \-\-exclude\-label "🚧 needs triage"
Kevin Deldycke
| 2026-09-14 | 7.15.1.dev0 |