Skip to main content
我们经常发布文档更新,此页面的翻译可能仍在进行中。 有关最新信息,请访问英语文档

此版本的 GitHub Enterprise 已停止服务 2023-03-15. 即使针对重大安全问题,也不会发布补丁。 为了获得更好的性能、更高的安全性和新功能,请升级到最新版本的 GitHub Enterprise。 如需升级帮助,请联系 GitHub Enterprise 支持

Installing your own GitHub App

You can install your GitHub App on the user or organization account that owns the app. If your app is public, the GitHub App can also be installed on other accounts.

About installing your own GitHub App

Once you create a GitHub App, you can install it. If your GitHub App is owned by a personal account, you can install it on your account. If your GitHub App is owned by an organization and you are an organization owner, you can install it on your organization.

If your GitHub App is public, you can also share your GitHub App with other users or organizations within your enterprise. For more information, see "Sharing your GitHub App."

Installing your own GitHub App

  1. 导航到您的帐户设置。

    • 对于个人帐户拥有的 GitHub App,在任何页面的右上角,单击你的个人资料照片,然后单击“设置”。
    • 对于组织拥有的 GitHub App,在任何页面的右上角,单击你的个人资料照片,然后单击你的组织。 然后,在组织右侧,单击“设置”。
  2. 在左侧边栏中,单击“开发人员设置”。

  3. 在左侧边栏中,单击“GitHub App”。 GitHub 中“开发人员设置”页面的屏幕截图。 一个标有“GitHub 应用”的选项,以深橙色框出。

  4. Next to the GitHub App that you want to install, click Edit.

  5. Click Install App.

  6. Click Install next to the location where you want to install the GitHub App.

  7. If the app requires repository permissions, select All repositories or Only select repositories. The app will always have at least read-only access to all public repositories on GitHub.

    If the app does not require repository permissions, these options will be omitted.

  8. If you selected Only select repositories in the previous step, under the Select repositories dropdown, select the repositories that you want the app to access.

    If the app creates any repositories, the app will automatically be granted access to those repositories as well.

  9. Click Install.