You can access additional features and workflows on ваш экземпляр GitHub Enterprise Server by enabling GitHub Connect. See "Сведения о GitHub Connect."
What happens when GitHub Connect is enabled?
When you enable GitHub Connect, you configure a connection between ваш экземпляр GitHub Enterprise Server and an enterprise account on GitHub Enterprise Cloud. Подключение использует ПРОТОКОЛ HTTPS через порты 443 или 80 и защищается tls.
Enabling GitHub Connect creates a GitHub App owned by the enterprise account on GitHub Enterprise Cloud. GitHub Enterprise Server uses the GitHub App's credentials to make requests to GitHub Enterprise Cloud.
GitHub Enterprise Server stores credentials from the GitHub App. The following credentials will be replicated to all nodes in a high availability or cluster environment, and stored in any backups, including snapshots created by GitHub Enterprise Server Backup Utilities.
- An authentication token, which is valid for one hour
- A private key, which is used to generate a new authentication token
Prerequisites
- You must have an enterprise account on GitHub.com that uses GitHub Enterprise Cloud.
- Your enterprise account on GitHub.com must be invoiced. Enterprise accounts on the free trial of GitHub Enterprise Cloud or that pay by credit card cannot be connected to ваш экземпляр GitHub Enterprise Server.
- If your enterprise account on GitHub.com uses IP allow lists, you must add the IP address or network for ваш экземпляр GitHub Enterprise Server to your IP allow list. See "Применение политик для параметров безопасности в вашем предприятии" in the GitHub Enterprise Cloud documentation.
- To configure a connection, your proxy configuration must allow connectivity to
github.com
,api.github.com
, anduploads.github.com
. For more information, see "Настройка сервера веб-прокси исходящего трафика." - If you have previously enabled GitHub Connect for an enterprise on GHE.com, you must change your configuration to allow connections to GitHub.com. See "Enabling GitHub Connect for GHE.com."
Enabling GitHub Connect
To enable GitHub Connect, you must be an enterprise owner on both GitHub Enterprise Server and GitHub Enterprise Cloud.
-
Sign in to ваш экземпляр GitHub Enterprise Server and GitHub.com.
-
В правом верхнем углу GitHub Enterprise Serverщелкните фото профиля, а затем выберите параметры Enterprise.
-
На боковой панели учетной записи предприятия щелкните GitHub Connect.
-
Under "GitHub Connect is not enabled yet", click Enable GitHub Connect. By clicking Enable GitHub Connect, you agree to the "Условия GitHub для дополнительных продуктов и функций."
-
To the right of the enterprise account you'd like to connect, click Connect.