Skip to content

ManualRepositories

Connect a GitHub repository

If your code lives on GitHub, you can connect the repository to Berrit with the GitHub App.

Choose GitHub App if you want to review on GitHub pull requests or use GitHub Actions results in Berrit. You can keep using SSH in your own clone. The provider you pick here is how Berrit reaches GitHub. For Git access alone, you can also connect with SSH or HTTPS.

The Berrit organisation you choose is where your team manages this repository and its reviewers. If your team already has one, sign in and accept its invitation from your dashboard. To create one you own, choose New organisation under the switcher.

An owner or admin can connect the repository in Berrit. On GitHub, you’ll need permission to install the App or someone who can approve the installation.

  1. Open your organisation’s dashboard in Berrit.
  2. Select New repository, choose the organisation if prompted, then choose GitHub App.
  3. If your repository is in the list, select it and continue to Confirm the connection. Otherwise, use Install Berrit on GitHub to install the App on the account that owns it. If that account already has the App, check which repositories its installation can access.
  4. A new installation returns you to Bind the GitHub App. Confirm the Berrit organisation and choose Bind. The GitHub account doing this needs write access to every repository included in the installation. If you installed the App earlier but never bound it, open Organisation settings → GitHub and choose Bind an installation.
  5. After you bind the installation or change its repository access, reopen New repository and pick your repository from the refreshed list.

Berrit fills in Remote URL and Default branch from GitHub. Keep that branch if it’s where your team usually lands changes. You can pick another target, such as a release branch, when you import a change. The Slug is the name used in Berrit links and push URLs. Keep the suggested name unless another repository in the same Berrit organisation already uses it.

When you choose Create, Berrit checks that it can reach the remote before saving the connection. The repository page then opens and Berrit starts cloning it.

In Settings → Access, choose Check access and read Last check. Berrit lands a change by writing to the target branch itself. If a GitHub ruleset only allows updates through pull requests, add the Berrit App to that ruleset’s bypass list with Always allow. The rule can stay in place for everyone else. Berrit checks the default branch’s rules here, so check the rules on any release branch you also land on.

Once the repository is connected, you can send your first change or add a GitHub Actions check.