Connect GitHub
Connecting GitHub lets you deploy repositories, see pull requests and review them in the dashboard. We use a GitHub App, so you choose exactly which repositories we can see.
What you need
- Permission to manage GitHub in your workspace (owners and admins have it).
- On GitHub: owner rights on the account or organization, or an owner who approves the request.
Connect
- Open Settings → GitHub and click Connect GitHub.
- GitHub opens. Pick the account or organization that owns the repositories.
- Choose Only select repositories and tick the ones you want, or All repositories. We recommend picking only what you deploy.
- Click Install (or Request if an organization owner must approve).
- You come back to the dashboard with GitHub connected. The repositories appear under the Repositories tab within a few seconds.
Add or remove repositories later
- Open Settings → GitHub. Next to the connected account, click Configure on GitHub.
- Tick or untick repositories and click Save.
- The Repositories tab updates by itself. A project whose repository you removed stops deploying until you add it back.
Connect a second account or organization
Click Connect GitHub again and pick the other account. Each connection is listed separately.
Disconnect
- Open Settings → GitHub and click Disconnect next to the account.
- Confirm. If asked, enter your password.
Projects from that account keep running, but new pushes no longer deploy. To also remove our access on GitHub's side, uninstall the app under GitHub → Settings → Applications.
Troubleshooting
| What you see | What to do |
|---|---|
| GitHub is not configured | GitHub isn't set up on this installation. Ask your administrator. |
| Repository missing from the list | It isn't selected in the app's repository access. Use Configure on GitHub to add it. |
| Organization shows Request sent | An owner of that GitHub organization must approve the request in GitHub. |