Skip to main content

Enterprise Server 3.20 目前作为发布候选版本提供。

启用或禁用组织的GitHub讨论

可以将组织中的 GitHub Discussions 用作组织具有不特定于组织内单个存储库的对话的位置。

谁可以使用此功能?

Organization owners can enable GitHub Discussions for their organization.

About organization discussions

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 discussions 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.

You can also manage repository discussions. For more information, see Enabling or disabling GitHub Discussions for a repository and Managing discussion creation for repositories in your organization.

Enabling or disabling GitHub Discussions for your organization

  1. On GitHub, navigate to the main page of your organization.

  2. Under your organization name, click Settings.

    Screenshot of the tabs in an organization's profile. The "Settings" tab is outlined in dark orange.

  3. Under "Discussions", select Enable discussions for this organization.

  4. Use the dropdown menu to select a repository to use as the source repository for your organization discussions.

  5. Click Save.

  6. To disable discussions, under "Discussions", deselect Enable discussions for this organization.

Further reading