Skip to main content

Эта версия GitHub Enterprise Server была прекращена 2024-09-25. Исправления выпускаться не будут даже при критических проблемах безопасности. Для повышения производительности, повышения безопасности и новых функций выполните обновление до последней версии GitHub Enterprise Server. Чтобы получить справку по обновлению, обратитесь в службу поддержки GitHub Enterprise.

Преобразование приложения GitHub в общедоступное или частное

При регистрации GitHub Appвы можете сделать его общедоступным, чтобы другие пользователи или организации GitHub могли установить приложение или частные, чтобы его можно было установить только в учетной записи, принадлежащей приложению.

About visibility for GitHub Apps

You can make your GitHub App registration public or private. If you set your GitHub App registration to public, anyone on your GitHub Enterprise Server instance can install it, but the app is not available outside of your instance. If you set your GitHub App registration to private, it can only be installed on the account that owns the app.

If you want your GitHub App to be available to organizations in a GitHub Enterprise Server instance that you are not part of, then you need to take additional steps. For more information, see Making your GitHub App available for GitHub Enterprise Server.

If it is important for other 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 "Enabling automatic access to GitHub.com actions using GitHub Connect" 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.