Skip to main content

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

About GitHub Connect

GitHub Connect enhances GitHub Enterprise Server by giving you access to additional features and workflows that rely on the power of GitHub.com.

About GitHub Connect

GitHub Connect enhances GitHub Enterprise Server by allowing your GitHub Enterprise Server instance to benefit from the power of GitHub.com in limited ways. After you enable GitHub Connect, you can enable additional features and workflows that rely on GitHub.com, such as Dependabot alerts for security vulnerabilities that are tracked in the GitHub Advisory Database.

GitHub Connect does not open your GitHub Enterprise Server instance to the public internet. None of your enterprise's private data is exposed to GitHub.com users. Instead, GitHub Connect transmits only the limited data needed for the individual features you choose to enable. Unless you enable license sync, no personal data is transmitted by GitHub Connect. For more information about what data is transmitted by GitHub Connect, see "Data transmission for GitHub Connect."

Enabling GitHub Connect will not allow GitHub.com users to make changes to GitHub Enterprise Server.

To enable GitHub Connect, you configure a connection between your GitHub Enterprise Server instance and an organization or enterprise account on GitHub.com that uses GitHub Enterprise Cloud. For more information, see "Managing GitHub Connect."

After enabling GitHub Connect, you will be able to enable features such as automatic user license sync and Dependabot alerts. For more information about all of the features available, see "GitHub Connect features."

GitHub Connect features

After you configure the connection between your GitHub Enterprise Server instance and GitHub Enterprise Cloud, you can enable individual features of GitHub Connect for your enterprise.

FeatureDescriptionMore information
Automatic user license syncManage license usage across your GitHub Enterprise deployments by automatically syncing user licenses from your GitHub Enterprise Server instance to GitHub Enterprise Cloud."Enabling automatic user license sync for your enterprise"
DependabotAllow users to find and fix vulnerabilities in code dependencies."Enabling Dependabot for your enterprise"
GitHub.com actionsAllow users to use actions from GitHub.com in workflow files."Enabling automatic access to GitHub.com actions using GitHub Connect"
Unified searchAllow users to include repositories on GitHub.com in their search results when searching from your GitHub Enterprise Server instance."Enabling unified search for your enterprise"
Unified contributionsAllow users to include anonymized contribution counts for their work on your GitHub Enterprise Server instance in their contribution graphs on GitHub.com."Enabling unified contributions for your enterprise"

Data transmission for GitHub Connect

When GitHub Connect is enabled, a record on GitHub Enterprise Cloud stores information about the connection. If you enable individual features of GitHub Connect, additional data is transmitted.

Note: No repositories, issues, or pull requests are ever transmitted from GitHub Enterprise Server to GitHub.com by GitHub Connect.

Data transmitted when GitHub Connect is enabled

When you enable GitHub Connect or specific GitHub Connect features, a record on GitHub Enterprise Cloud stores the following information about the connection.

  • The public key portion of your GitHub Enterprise Server license
  • A hash of your GitHub Enterprise Server license
  • The customer name on your GitHub Enterprise Server license
  • The version of your GitHub Enterprise Server instance
  • The hostname of your GitHub Enterprise Server instance
  • The organization or enterprise account on GitHub Enterprise Cloud that's connected to your GitHub Enterprise Server instance
  • The authentication token that's used by your GitHub Enterprise Server instance to make requests to GitHub Enterprise Cloud
  • If Transport Layer Security (TLS) is enabled and configured on your GitHub Enterprise Server instance
  • The GitHub Connect features that are enabled on your GitHub Enterprise Server instance, and the date and time of enablement
  • The dormancy threshold for your enterprise
  • The number of dormant users for your enterprise
  • A count of license-consuming seats, which does not include suspended users

GitHub Connect syncs the above connection data between your GitHub Enterprise Server instance and GitHub Enterprise Cloud weekly, from the day and approximate time that GitHub Connect was enabled.

Data transmitted by individual features of GitHub Connect

Additional data is transmitted if you enable individual features of GitHub Connect.

FeatureDataWhich way does the data flow?Where is the data used?
Automatic user license syncEach GitHub Enterprise Server user's user ID and email addressesFrom GitHub Enterprise Server to GitHub Enterprise CloudGitHub Enterprise Cloud
Dependabot alertsVulnerability alertsFrom GitHub.com to GitHub Enterprise ServerGitHub Enterprise Server
GitHub.com actionsName of action, action (YAML file from GitHub Marketplace)From GitHub.com to GitHub Enterprise Server

From GitHub Enterprise Server to GitHub.com
GitHub Enterprise Server
Unified searchSearch terms, search resultsFrom GitHub.com to GitHub Enterprise Server

From GitHub Enterprise Server to GitHub.com
GitHub Enterprise Server
Unified contributionsContribution countsFrom GitHub Enterprise Server to GitHub.comGitHub.com

Further reading