Skip to main content

Before you start

You need to be an owner of the GitHub organization whose repositories Arch reads, or a repository admin for only the repositories you administer, unless an owner has turned that off. Any other member can only send the owner a request, and Arch cannot finish the connection from a request. The app manager role does not allow you to install the app.

Setup steps

  1. In Arch, add the GitHub connection. Arch opens GitHub’s page to install the Arch GitHub App. See Installing a GitHub App from a third party.
  2. Select the organization where you want to install the app.
  3. Select All repositories, or select Only select repositories and choose the repositories in the Select repositories dropdown.
  4. Review the permissions the app requests. They are listed under Permissions below.
  5. Click Install. If the button says Install and request or Request, an organization owner must install the app instead.
  6. If GitHub asks you to authorize the Arch GitHub App, authorize it. Arch uses this only to check that you are the person who installed the app. See Authorizing GitHub Apps.
  7. GitHub returns you to Arch. You now hold an installation of the Arch GitHub App, and you choose its repositories and modules under Configure.

Fields

You do not enter an address, a token or a key.

Permissions

Arch asks only for read access. To check the permissions or change which repositories the app can reach, open your organization’s Settings, select GitHub Apps under Third-party Access, and click Configure next to the Arch GitHub App. Under Repository access, choose the repositories, then click Save. See Reviewing and modifying installed GitHub Apps.

Configure

Sign-in

Arch signs in as the Arch GitHub App and asks GitHub for a short-lived token for your installation. When the sign-in works, the connection test goes on to list the repositories the installation reaches, and checks that each selected module can be read for each selected repository. If the sign-in fails, check that the Arch GitHub App is still installed and not suspended. Open your organization’s Settings, select GitHub Apps under Third-party Access, and click Configure next to the Arch GitHub App. If it is suspended, click Unsuspend. If it is not listed, add the GitHub connection again in Arch and install the app. See Reviewing and modifying installed GitHub Apps.

Test answers

A passing test lists each selected repository with each selected module that Arch can read. A module that GitHub has turned off for a repository shows as unavailable and does not fail the test.

Limits

  • Arch brings in, for each selected repository and module: repositories, branches and branch rules, workflows and deployment environments, dependency manifests, lockfiles and packages, Dependabot alerts, code scanning alerts and secret scanning alerts.
  • Code ownership and repositories the app cannot reach are not brought in.
  • Arch reads the data once a day by default. You can choose every hour, every 3, 6 or 12 hours, or once a day.
  • Each run reads every selected repository and module again.
  • One installation of the Arch GitHub App connects to Arch once. You can choose up to 500 repositories by name; when the app reaches more, choose All repositories the App can access.