Skip to main content

Эта версия GitHub Enterprise Server была прекращена 2023-09-12. Исправления выпускаться не будут даже при критических проблемах безопасности. Для повышения производительности, повышения безопасности и новых функций выполните обновление до последней версии GitHub Enterprise Server. Чтобы получить справку по обновлению, обратитесь в службу поддержки GitHub Enterprise.

Блокировка бесед

Владельцы репозитория и участники совместной работы, а также пользователи с доступом на запись в репозиторий могут блокировать беседы о проблемах, запросах на вытягивание, а также отложить активное взаимодействие на время или постоянно.

It's appropriate to lock a conversation when the entire conversation is not constructive or violates your community's code of conduct. When you lock a conversation, you can also specify a reason, which is publicly visible.

Locking a conversation creates a timeline event that is visible to anyone with read access to the repository. However, the username of the person who locked the conversation is only visible to people with write access to the repository. For anyone without write access, the timeline event is anonymized.

Screenshot of a timeline event, which says "octo-org locked as too heated and limited conversation to collaborators 2 minutes ago."

While a conversation is locked, only people with write access and repository owners and collaborators can add, hide, and delete comments. Reactions and votes in a locked conversation are disabled for all users.

To search for locked conversations in a repository that is not archived, you can use the search qualifiers is:locked and archived:false. Conversations are automatically locked in archived repositories. For more information, see "Searching issues and pull requests."

  1. Optionally, write a comment explaining why you're locking the conversation.
  2. In the right sidebar of the issue or pull request, or above the comment box on the commit page, click Lock conversation.
  3. Optionally, select the Choose a reason dropdown menu, then click a reason for locking the conversation.
  4. Read the information about locking conversations and click Lock conversation on this issue, Lock conversation on this pull request, or Lock conversation on this commit.
  5. When you're ready to unlock the conversation, in the right sidebar of the issue or pull request, or above the comment box on the commit page, click Unlock conversation.

Further reading