Aller au contenu
EN English versionDemander une démo

Use GitHub for branches, pull requests and checks

For a project owner. Procedure connector.scm.github, version 2, reviewed 2026-11-12 against the vendor’s own pages. It applies to the connector type scm/github.

It ships with the platform. In the console it opens with How to set this up, beside the form that adds the connector and on the connector’s settings.

Addresses are written <api_url>, <public_url> and <org> here: the console shows the same text with your deployment’s own.

  • The same GitHub App as the tracker (see “Use GitHub Issues and Projects v2 as the board”): one App serves both. The person who operates Tranibor creates it from the console (Administration, GitHub App, from a manifest with the permissions and events below) or sets its id, private key and webhook secret as platform settings.
  • The repository the agents change. They work on a branch and open a pull request; nothing is pushed to the default branch.
  1. Create the App from the console (Administration, GitHub App), which sets the Webhook URL <api_url>/api/v1/webhooks/github itself, or by hand with that URL; or reuse the platform’s.
  2. Install it on the repository: the repository field’s Install on GitHub button opens GitHub’s install page and brings you back. The installation is discovered by the platform: there is no number to copy.
  3. For merge_queue, enable a merge queue in the repository’s branch protection (Settings, Branches). Without one, set merge_queue to false.

Repository permissions:

  • contents: write
  • issues: write
  • pull_requests: write
  • checks: write
  • metadata: read
  • statuses: read
  • actions: write

statuses lets the platform read a CI that reports commit statuses (Tekton, Jenkins); an App without it keeps working, and those statuses are not read.

actions lets the platform dispatch, rerun and read GitHub Actions workflows (the github-actions CI connector); an App without it keeps working, minus that connector.

Organization permissions, only if the same App serves the Projects v2 board:

  • organization_projects: write

Subscribe to these events: issues, issue_comment, projects_v2_item, pull_request, pull_request_review, check_suite, check_run, workflow_run.

Add workflows: write only if agents edit .github/workflows.

  1. Project settings, Connectors, SCM, type GitHub (App).
  2. repo: pick the repository in the list (what the App’s installations claimed by your organisation see), or type owner/repo when the list cannot be read.
  3. merge_queue: true (the default) enqueues through the merge queue; merge_method: SQUASH (the default), MERGE or REBASE.

Press Test: it reads the repository through the App. A run that opens a pull request then proves the write permissions.

  • 404 on the repository, or the repository missing from the list: the App is not installed on it, or its installation is not claimed by your organisation. Press Install on GitHub, or Refresh.
  • 403 on a branch, a pull request or a check: a permission above is missing or its upgrade was not accepted on the installation.
  • A merge that never happens: the merge queue is not enabled on the branch, or a required check is red.
  • A push refused for a workflow file: the App lacks workflows: write.
  • A timeout: the egress allowlist must open api.github.com.
Field What to put in it
merge_method MERGE, SQUASH or REBASE
merge_queue true to enqueue pull requests in the repository’s merge queue
repo owner/repo, picked from the repositories the App’s installations show

Hosts the platform must be allowed to reach:

  • api.github.com