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

Making a GitHub App public or private

When registering a GitHub App, you can make it public so that other GitHub users or organizations can install the app, or private so that you can only install it on the account that owns the app.

About visibility for GitHub Apps

You can make your GitHub App registration public or private.

If you want to make your app available to GitHub Enterprise Server instances, then you need to take additional steps. For more information, see "使 GitHub Apps 可用于 GitHub Enterprise Server."

If it is important for GitHub Enterprise Server users to be able to use your tool, consider using GitHub Actions instead of a GitHub App. Public actions are available on GitHub Enterprise Server instances with GitHub Connect. For more information, see "使用 GitHub Connect 启用对 GitHub.com 操作的自动访问" and "About GitHub Actions for enterprises."

For information about changing the visibility of a GitHub App registration, see "Modifying a GitHub App registration."

Public installation flow

Public GitHub Apps have a landing page with an Install button, so that other people can install the app in their repositories.

Private installation flow

Private GitHub Apps can only be installed on the user or organization account of the app owner. Limited information about the app will exist on a landing page for the app, but the Install button will only be available to organization owners and app managers for the organization that owns the app, or the personal account if the GitHub App is owned by an individual account.