gh issue lock 5 --reason spam

Category: GitHub CLI

gh issue lock 5 --reason spam

Lock an issue conversation

Locks the issue so only maintainers can comment, with --reason spam recorded for audit. Locking is the standard response to off-topic or abusive threads during issue triage. Unlock with gh issue unlock once the situation resolves.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.