我们经常发布文档更新,此页面的翻译可能仍在进行中。有关最新信息,请访问英文文档。如果此页面上的翻译有问题,请告诉我们

此版本的 GitHub Enterprise 将停止服务 此版本的 GitHub Enterprise 已停止服务 2020-08-20. 即使针对重大安全问题,也不会发布补丁。 要获得更好的性能、改进的安全性和新功能,请升级到 GitHub Enterprise 的最新版本。 如需升级方面的帮助,请联系 GitHub Enterprise 支持

文章版本: Enterprise Server 2.18

Making a GitHub App public or private

When setting up a GitHub App, you can make its installation public so any GitHub user or organization can install the app, or private so you can only install it on the account that created it.

本文内容

Did this doc help you?

For authentication information, see "Authenticating with GitHub Apps."

Public installation flow

Public installation flows have a landing page where users begin the installation flow. This link is provided in the "Public link" field when setting up your GitHub App. For more information, see "Installing GitHub Apps."

Private installation flow

Private installation flows allow only the owner of a GitHub App to install it. Limited information about the GitHub App will still exist on a public page, but the Install button will only be available to organization administrators or the user account if the GitHub App is owned by an individual account. Private, or internal, GitHub Apps can only be installed on the user or organization account of the owner.

Changing who can install your GitHub App

To change who can install the GitHub App:

  1. 在任何页面的右上角,单击您的个人资料照片,然后单击 Settings(设置)
    用户栏中的 Settings 图标
  2. 在左侧边栏中,单击 Developer settings
    Developer settings 部分
  3. In the left sidebar, click GitHub Apps.
    GitHub Apps 部分
  4. Select the GitHub App whose installation option you want to change.
    App selection
  5. In the left sidebar, click Advanced.
    Advanced tab
  6. Depending on the installation option of your GitHub App, click either Make public or Make internal.
    Button to change the installation option of your GitHub App
  7. Depending on the installation option of your GitHub App, click either Yes, make this GitHub App public or Yes, make this GitHub App internal.
    Button to confirm the change of your installation option

Did this doc help you?

问问别人

找不到要找的内容?

联系我们