{"meta":{"title":"Moderating discussions","intro":"You can promote healthy collaboration by marking comments as answers, locking or unlocking discussions, converting issues to discussions, and editing or deleting comments, discussions, and categories that don't align with your community's code of conduct.","product":"GitHub Discussions","breadcrumbs":[{"href":"/en/discussions","title":"GitHub Discussions"},{"href":"/en/discussions/managing-discussions-for-your-community","title":"Managing discussions"},{"href":"/en/discussions/managing-discussions-for-your-community/moderating-discussions","title":"Moderating discussions"}],"documentType":"article"},"body":"# Moderating discussions\n\nYou can promote healthy collaboration by marking comments as answers, locking or unlocking discussions, converting issues to discussions, and editing or deleting comments, discussions, and categories that don't align with your.\n\n## About moderating discussions\n\nGitHub Discussions is an open forum for conversation among maintainers and the community for a repository or organization on GitHub. If you have triage permissions for a repository, you can help moderate that repository's discussions by marking comments as answers, locking discussions that are no longer useful or are damaging to the community, and converting issues to discussions when an idea is still in the early stages of development. Similarly, if you have triage permission for the source repository for organization discussions, you can moderate discussions for that organization.\n\n## Marking a comment as an answer\n\nYou can mark a comment in the discussion as an answer to the discussion if a discussion is within a category that accepts answers. For more information, see [About discussions](/en/discussions/collaborating-with-your-community-using-discussions/about-discussions#about-categories-and-formats-for-discussions).\n\nWhen you mark a question as an answer, GitHub will highlight the comment and replies to the comment to help visitors quickly find the answer.\n\n![Screenshot of a comment marked as the answer to a discussion.](/assets/images/help/discussions/comment-marked-as-answer.png)\n\nYou can also mark a threaded comment (in response to a comment) as the answer to a discussion. You can't mark a minimized comment as the answer to a discussion.\n\n1. On GitHub, navigate to the main page of the repository or organization.\n\n2. Under your repository or organization name, click **<svg version=\"1.1\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" class=\"octicon octicon-comment-discussion\" aria-label=\"comment-discussion\" role=\"img\"><path d=\"M1.75 1h8.5c.966 0 1.75.784 1.75 1.75v5.5A1.75 1.75 0 0 1 10.25 10H7.061l-2.574 2.573A1.458 1.458 0 0 1 2 11.543V10h-.25A1.75 1.75 0 0 1 0 8.25v-5.5C0 1.784.784 1 1.75 1ZM1.5 2.75v5.5c0 .138.112.25.25.25h1a.75.75 0 0 1 .75.75v2.19l2.72-2.72a.749.749 0 0 1 .53-.22h3.5a.25.25 0 0 0 .25-.25v-5.5a.25.25 0 0 0-.25-.25h-8.5a.25.25 0 0 0-.25.25Zm13 2a.25.25 0 0 0-.25-.25h-.5a.75.75 0 0 1 0-1.5h.5c.966 0 1.75.784 1.75 1.75v5.5A1.75 1.75 0 0 1 14.25 12H14v1.543a1.458 1.458 0 0 1-2.487 1.03L9.22 12.28a.749.749 0 0 1 .326-1.275.749.749 0 0 1 .734.215l2.22 2.22v-2.19a.75.75 0 0 1 .75-.75h1a.25.25 0 0 0 .25-.25Z\"></path></svg> Discussions**.\n\n   ![Screenshot of the tabs in a GitHub repository. The \"Discussions\" option is outlined in dark orange.](/assets/images/help/discussions/repository-discussions-tab-global-nav-update.png)\n\n3. In the list of discussions, click the unanswered discussion you want to mark as answered.\n\n   ![Screenshot of the list of discussions with an unanswered discussion.](/assets/images/help/discussions/unanswered-discussion.png)\n\n4. In the discussion, find the comment you want to mark as the answer.\n\n5. Below the comment, click **Mark as answer**.\n\n   ![Screenshot of a discussion comment. A button, labeled \"Mark as answer\", is outlined in dark orange.](/assets/images/help/discussions/comment-mark-as-answer-button.png)\n\n6. Optionally, to unmark a comment as the answer, click **Unmark as answer**.\n\n## Locking discussions\n\nIt's appropriate to lock a conversation when the entire conversation is not constructive or violates your community's code of conduct or GitHub's [Community Guidelines](/en/site-policy/github-terms/github-community-guidelines). You can also lock a conversation to prevent comments on a discussion you want to use as an announcement to the community. When you lock a conversation, people with write access to the repository, or source repository for organization discussions, will still be able to comment on the discussion. You can also allow emoji reactions to a locked discussion.\n\n> \\[!NOTE]\n> You can also close a discussion. For more information, see [Closing a discussion](/en/discussions/managing-discussions-for-your-community/managing-discussions#closing-a-discussion).\n\n1. On GitHub, navigate to the main page of the repository or organization.\n\n2. Under your repository or organization name, click **<svg version=\"1.1\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" class=\"octicon octicon-comment-discussion\" aria-label=\"comment-discussion\" role=\"img\"><path d=\"M1.75 1h8.5c.966 0 1.75.784 1.75 1.75v5.5A1.75 1.75 0 0 1 10.25 10H7.061l-2.574 2.573A1.458 1.458 0 0 1 2 11.543V10h-.25A1.75 1.75 0 0 1 0 8.25v-5.5C0 1.784.784 1 1.75 1ZM1.5 2.75v5.5c0 .138.112.25.25.25h1a.75.75 0 0 1 .75.75v2.19l2.72-2.72a.749.749 0 0 1 .53-.22h3.5a.25.25 0 0 0 .25-.25v-5.5a.25.25 0 0 0-.25-.25h-8.5a.25.25 0 0 0-.25.25Zm13 2a.25.25 0 0 0-.25-.25h-.5a.75.75 0 0 1 0-1.5h.5c.966 0 1.75.784 1.75 1.75v5.5A1.75 1.75 0 0 1 14.25 12H14v1.543a1.458 1.458 0 0 1-2.487 1.03L9.22 12.28a.749.749 0 0 1 .326-1.275.749.749 0 0 1 .734.215l2.22 2.22v-2.19a.75.75 0 0 1 .75-.75h1a.25.25 0 0 0 .25-.25Z\"></path></svg> Discussions**.\n\n   ![Screenshot of the tabs in a GitHub repository. The \"Discussions\" option is outlined in dark orange.](/assets/images/help/discussions/repository-discussions-tab-global-nav-update.png)\n\n3. In the list of discussions, click the discussion you want to lock.\n\n   ![Screenshot of the list of discussions with an unanswered discussion.](/assets/images/help/discussions/unanswered-discussion.png)\n\n4. In the right margin of a discussion, click **Lock conversation**.\n\n5. Read the information about locking conversations.\n\n6. Optionally, to allow emoji reactions while the discussion is locked, select **Allow reactions**.\n\n7. To lock the conversation, click **Lock conversation**.\n\n8. When you're ready to unlock the conversation, click **Unlock conversation** in the right margin of a discussion, then click **Unlock conversation**.\n\n## Converting an issue to a discussion\n\nWhen you convert an issue to a discussion, the discussion is automatically created using the content from the issue. For more information, see [Managing discussions](/en/discussions/managing-discussions-for-your-community/managing-discussions).\n\n1. On GitHub, navigate to the main page of the repository or organization.\n2. Under your repository name, click **<svg version=\"1.1\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" class=\"octicon octicon-issue-opened\" aria-label=\"issue-opened\" role=\"img\"><path d=\"M8 9.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z\"></path><path d=\"M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0ZM1.5 8a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0Z\"></path></svg> Issues**.\n\n   ![Screenshot of the main page of a repository. In the horizontal navigation bar, a tab, labeled \"Issues,\" is outlined in dark orange.](/assets/images/help/repository/repo-tabs-issues-global-nav-update.png)\n3. In the list of issues, click the issue you'd like to convert.\n4. In the right margin of an issue, click **Convert to discussion**.\n5. Select the **Choose a category** drop-down menu, and click a category for your discussion.\n6. Click **I understand, convert this issue to a discussion**.\n\n## Blocking a user from your organization\n\nOrganization owners and moderators can block a user from the organization if their comments don't align with the community's code of conduct. When you block a user, they will no longer be able to comment on discussions. You can also hide all of the comments a user has made in the organization. For more information, see [Blocking a user from your organization](/en/communities/maintaining-your-safety-on-github/blocking-a-user-from-your-organization).\n\nWhen you block a user, you can choose to block them indefinitely or for a specific amount of time. If you block someone for a specific amount of time, they are automatically unblocked after the chosen time expires. If you block someone indefinitely, you can unblock them manually at any time. For more information, see [Unblocking a user from your organization](/en/communities/maintaining-your-safety-on-github/unblocking-a-user-from-your-organization)."}