Turn a fix into a pull request
Connect a GitHub App so proposed repairs arrive where your team already reviews.
With a repository connected, the product can read the relevant source while analysing, and open a branch and pull request carrying a proposed repair. It never pushes to your default branch.
1. Create a GitHub App (once, by an administrator)
Go to GitHub → Settings → Developer settings → GitHub Apps → New GitHub App.
| Field | Value |
|---|---|
| Homepage URL | The address of your instance |
| Callback URL | https://your-instance/projects/github/callback |
| Setup URL | https://your-instance/projects/github/callback |
| Webhook URL | https://your-instance/api/github-app/webhook |
| Webhook secret | A random string — keep a copy |
| Request user authorization (OAuth) | Off |
Then generate a private key and download it.
http://localhost:3000/projects/github/callback and tunnel the webhook with smee.io or ngrok to http://localhost:3001/api/github-app/webhook.2. Store the credentials
Open Settings → GitHub App and paste the App ID, client ID, private key, and webhook secret. The private key is encrypted before it is stored and never returned by the API.
3. Connect a project
- Open Project → Edit → Git integration.
- Press Connect GitHub App and install it on the organisation or repository.
- GitHub sends you back with an installation ID, which is saved against that project only — one project cannot use another's installation.
- Choose the repository, the default branch, and optionally a source path prefix such as
src/.
4. Use it on an incident
Open an incident with a suggested fix and press Create pull request. A branch is created, the change is committed, and the pull request link appears on the incident so the review trail stays attached to the evidence.