惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - Franky
T
Tailwind CSS Blog
Microsoft Azure Blog
Microsoft Azure Blog
The Cloudflare Blog
博客园 - 叶小钗
N
Netflix TechBlog - Medium
罗磊的独立博客
量子位
MyScale Blog
MyScale Blog
A
About on SuperTechFans
Blog — PlanetScale
Blog — PlanetScale
V
Visual Studio Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
GbyAI
GbyAI
B
Blog
腾讯CDC
爱范儿
爱范儿
Recent Announcements
Recent Announcements
有赞技术团队
有赞技术团队
F
Fortinet All Blogs
雷峰网
雷峰网
G
Google Developers Blog
Google DeepMind News
Google DeepMind News

Heroku Dev Center Articles

Migrating from the Nginx Buildpack to Front-End Web CNB | Heroku Dev Center Migrating from create-react-app-buildpack to Front-End Web CNB | Heroku Dev Center How the Front-End Web Cloud Native Buildpack Works | Heroku Dev Center Deploying Front-End Web Apps on Heroku | Heroku Dev Center Understanding Heroku User Roles and Permissions | Heroku Dev Center Choosing the Right Apache Kafka on Heroku Plan | Heroku Dev Center Provisioning Apache Kafka on Heroku | Heroku Dev Center Managing Topics and Partitions on Apache Kafka on Heroku | Heroku Dev Center Apache Kafka on Heroku Version Support | Heroku Dev Center Changing the Plan of an Apache Kafka on Heroku Cluster | Heroku Dev Center Connecting to an Apache Kafka on Heroku Cluster | Heroku Dev Center Apache Kafka on Heroku Metrics Logs | Heroku Dev Center Heroku Connect for Independent Software Vendors (ISV) | Heroku Dev Center Managed Inference and Agents API with Claude Opus 4.8 | Heroku Dev Center Heroku-26 Stack | Heroku Dev Center Connection Limits on Heroku Postgres Advanced (Limited GA) | Heroku Dev Center Heroku Postgres Advanced (Limited GA) | Heroku Dev Center Migrating to Heroku Postgres Advanced (Limited GA) | Heroku Dev Center Heroku Postgres Advanced Quotas (Limited GA) | Heroku Dev Center Manage Instance Pools on Heroku Postgres Advanced (Limited GA) | Heroku Dev Center Provisioning Heroku Postgres Advanced (Limited GA) | Heroku Dev Center Getting Started with Heroku Postgres Advanced (Limited GA) | Heroku Dev Center Usage and Billing on Heroku Postgres Advanced (Limited GA) | Heroku Dev Center
Heroku GitHub Enterprise Cloud Integration Using GitHub A...
2026-07-01 · via Heroku Dev Center Articles

Last updated June 30, 2026

The Heroku GitHub Enterprise Cloud Integration is the recommended way to integrate with GitHub. It uses GitHub Apps, which are more secure compared to personal OAuth tokens and offer more granular permissions. Using the integration, you don’t need a service account as a separate user because the GitHub app acts on its own behalf, acting via the API directly using its own identity.

This integration provides the following advantages over Heroku GitHub Deploys:

  • If the user who set up the integration leaves the GitHub org, the deploys still work.
  • Offers more permissions and control for repos.

Prerequisites

To set up the integration, you must have:

  • The manage permission for an active Heroku Enterprise account
  • Full access to the GitHub Enterprise Cloud org that contains all the repos to use with this integration
  • No unowned pipelines

If you closed your contract or are transitioning to Enterprise, wait for your Enterprise account to finish creating. You can only use the feature on Enterprise accounts.

Installing the GitHub App

After installing the Heroku GitHub App and all pipelines are using it, there’s no easy way to switch back to your old configuration. Uninstalling the GitHub app means disconnecting all your apps and pipelines that you must manually reconnect if you decide to use personal OAuth tokens.

Installing the Heroku GitHub App doesn’t disconnect your existing connection with GitHub, but you must move all your pipelines to using the GitHub app after installing.

After enabling the feature for your company, you can install the Heroku GitHub App from the Enterprise Account. All users with manage permission at the Enterprise Account level can see the installation option under the Settings tab of the Enterprise Account:

Installation Overview

By selecting Install GitHub, it asks you to authenticate to GitHub and select the org that you want to install the GitHub app on:

If you installed the Heroku GitHub App for a GitHub org already, you see Configure in front of the org name.

Install on Org

All the repositories that you use across the entire Enterprise Account must be under the same GitHub org for this integration.

Select all repositories for access: Allowlist All Repos

Or select a specific repository to allowlist:

Allowlist Specific Repo

After the installation is complete, you can view all the installations in the Settings page:

Installation Overview

To configure an existing GitHub app installation, select Configure on GitHub and you’re redirected to GitHub where you can change the repository access or uninstall the feature:

Choose a GitHub repo that the GitHub App can use for access

After correctly installing the GitHub app at the Enterprise Account level, you can reconnect all existing OAuth connections to use the new GitHub app:

Installation Overview

View GitHub Apps Installations

To see where you installed the Heroku GitHub App if you’re a member of more than one Enterprise Account, select Account Settings from under your profile, then the Applications tab. In the Third-party code providers section, you can see all the Enterprise Accounts that have the GitHub app installed.

Installation Overview

You can only link a GitHub org to one Enterprise Account at a time. To link a GitHub org that’s already linked to another Enterprise Account, you must uninstall it first.

Heroku Buttons don’t work with private repositories that the user doesn’t have access to. Heroku Buttons also don’t work with repositories that are outside the GitHub org used with the Heroku GitHub App. Connecting to a pipeline fails when you install GitHub App at the Enterprise Account level and:

  • A user wants to connect a pipeline within that Enterprise Account to a private repo outside the GitHub org that’s linked to the Enterprise Account.
  • A user wants to connect a pipeline inside the GitHub org but a repo that the user doesn’t have access to.

Testing and Roll-out

We highly recommend a testing period, especially if you have more than 20 pipelines because there’s no easy way to switch back after you’re using GitHug App across all your pipelines. You can create an Enterprise Team for testing, or use an existing one with non-critical apps and pipelines. Users in this test Enterprise Team can see the new GitHub app installation and either use it for new pipelines or change the GitHub installation for existing pipelines from legacy OAuth connections to the Heroku GitHub App.

After completing the testing period and you want to continue, all the Enterprise Teams across your Enterprise Account can then see and use the new Heroku GitHub App installation.

Uninstalling the GitHub App

Uninstalling the GitHub app disconnected all your pipelines and apps. There’s no easy way to go back to your previous configuration via personal OAuth tokens other than manually connecting each pipeline to the right GitHub repo again.

To uninstall, navigate to the Settings tab of the Enterprise Account and select Uninstall GitHub app:

Whitelist Specific Repo

Heroku redirects you to GitHub to uninstall Heroku:

Whitelist Specific Repo

After installing, reconnect all your pipelines to GitHub using the personal OAuth tokens again.

Contact Heroku to uninstall and disable your Heroku GitHub App feature. You can’t reconnect your pipelines to GitHub using personal OAuth tokens.

Limitations

There’s a 1:1 relationship between your Enterprise Account and GitHub org. If you have any pipelines using repositories outside the GitHub org, fork and move them to the main GitHub org before configuring the integration.

You can only link a GitHub org to one Enterprise Account at a time. If you linked your GitHub org to an Enterprise Account, and want to link it to a different one, you must uninstall the integration first.

If you set up the GitHub server to block requests, the installation fails. Heroku Support can assist in allowlisting the Heroku integration.

Heroku Buttons don’t work with private repositories if the user launching it doesn’t have access to the repos.