Skip to main content

为组织启用或禁用 GitHub 讨论

您可以使用组织中的 GitHub Discussions 作为组织进行对话的位置,这些对话不特定于组织中的单个存储库。

Organization owners can enable GitHub Discussions for their organization.

关于组织讨论

When you enable organization discussions, you will choose a repository in the organization to be the source repository for your organization discussions. You can use an existing repository or create a repository specifically to hold your organization discussions. Discussions will appear both on the discussions page for the organization and on the discussion page for the source repository.

Permission to participate in or manage discussion in your organization is based on permission in the source repository. For example, a user needs write permission to the source repository in order to delete an organization discussion. This is identical to how a user needs write permission in a repository in order to delete a repository discussion.

You can change the source repository at any time. If you change the source repository, discussions are not transferred to the new source repository.

您还可以管理存储库讨论。 更多信息请参阅“为存储库启用或禁用 GitHub 讨论”和“管理组织中存储库的讨论创建”。

为组织启用或禁用 GitHub Discussions

  1. 在 GitHub.com 上,导航到组织的主页面。
  2. Under your organization name, click Settings. 组织设置按钮
  3. Under "Discussions", select Enable discussions for this organization.
  4. Select a repository to use as the source repository for your organization discussions. Settings to enable discussions for an organization
  5. 单击 Save(保存)
  6. 要禁用讨论,请在“Discussions(讨论)”下,取消选择 Enable discussions for this organization(为此组织启用讨论)

延伸阅读