When heated discussions or flame wars break out, you can lock conversations on issues, pull requests, and commits permanently or until cooler heads prevail.

It's appropriate to lock a conversation when the entire conversation is not constructive or violates your community's code of conduct.

Locked conversation

While a conversation is locked, only people with collaborator permissions can add comments.

  1. Optionally, write a comment explaining why you're locking the conversation.
  2. Lock issue linkIn the right margin of the issue or pull request, click Lock issue or Lock pull request.
  3. Confirm lock dialog boxRead the information about locking conversations and click Lock this issue or Lock this pull request.
  4. Unlock issue linkWhen you're ready to unlock the conversation, click Unlock issue or Unlock pull request.

Further reading