Grant access to a GitHub Organization

Steps to grant access for Bitrise.io to a given GitHub Organization:

  1. Open https://github.com
  2. In the top right corner click your user / avatar
  3. In the list select Settings
  4. On the left side select Authorized applications
  5. In the left-side navigation, click Authorized OAuth Apps, and choose Bitrise
  6. Locate the Organization you want to grant access to, and click Grant.

Authorized OAuth Apps

You can now go back to bitrise.io and you should see the organization / repository on the Add New App page.

If there's no Grant access button for the organization in the Organization access section and instead you see a red cross icon, that means that the access was previously granted but then it was revoked. You can fix this by selecting the organization on the left side, in the Organization settings section, then on the Organization settings page select Third-party access, locate Bitrise, click the pencil icon, and click the Grant access button there.

In case the repository is a fork of another private repository

In case the repository is a fork of another private repository which belongs to (another) organization you have to repeat these steps and grant access for Bitrise for the orgianization which owns the original repository.

This is a GitHub limitation, in order to be able to access a private repository fork you have to grant access for the service (Bitrise) in both repositories; in the fork and in the original repository/organization too.