Skip to main content

GitHub

GitHub is where your team's code, branches, and pull requests live. Connecting it to X4RGE is the foundation for cloud agents and automations — agents clone your repos, open PRs, and react to events like failed CI or new pull requests.

GitHub is fully supported today — connect end to end from Dashboard → Integrations. Other integrations (Slack, Linear) build on top of this; start here before rolling agents to your team.

What this page is for

You want to…This page tells you…
Understand why GitHub mattersWhat agents can and cannot do without it
Connect your org or accountStep-by-step from the dashboard
Know what gets enabledRuns, PRs, automations, repo picker
Fix common issuesMissing repos, connection errors, PR blocked
Primary integration

Repository-scoped cloud runs and GitHub-triggered automations require this connection. Slack and Linear add notifications and planning on top — they do not replace GitHub for code.

Why connect GitHub

Without GitHubWith GitHub connected
No cloud runs on your codeAgents clone repos and open PRs
Manual copy-paste for reviewsAutomations on PR and CI events
Repos missing in Agents workspaceBranches and repos appear in the picker
No "fix CI" workflowsAgents read check status and respond

Without GitHub, agents cannot work on your codebase in the cloud. Most teams connect in the first week of rollout — before cloud agent setup and automations.

How GitHub fits your workflow

X4RGE does not replace GitHub — it works inside your existing repo workflow:

In GitHubWith X4RGE connected
Repositories and branchesAgents clone and branch for cloud runs
Pull requests and reviewAgents open and update PRs from runs
CI checksAutomations react when checks fail
Your team's normal git flowSame flow — agents contribute via PRs

You keep: branch protection, code review, merge rules in GitHub.

X4RGE adds: agent runs, automations, and the repo picker in the Agents workspace.

In practice

Use this table to pick your next step after reading Connect GitHub.

You want to…Do this
Connect your org's reposConnect GitHub from the dashboard
Start a cloud run on a repoCloud agent setup → pick repo in Agents workspace
Review PRs automaticallyAutomations with pull request triggers
Fix failing CIAutomation on check / PR events
Add repos laterGitHub app settings — expand access without reinstalling
Repo not in pickerSee When something goes wrong

Connect GitHub

Your organization admin or anyone with Integrations access can complete this flow. If your org requires approval, an admin must allow the connection in Settings first.

  1. Open Integrations

    In the dashboard, go to Integrations and choose GitHub.

  2. Install the X4RGE GitHub app

    Install on your GitHub organization or personal account. GitHub may ask an org owner to approve the app on company accounts.

  3. Grant repository access

    Choose all repositories or a selected set. Start with one or two pilot repos, then expand as teams onboard.

  4. Confirm connection

    The Integrations page shows connected when installation completes. Repositories sync automatically so they appear in the Agents workspace picker.

Start minimal

Grant access to a pilot repo first. Verify a smoke cloud run and one automation before opening every repository in the org.

What it enables

Once connected, GitHub becomes the source of truth for code in X4RGE. Everything below depends on the repos you granted access to.

CapabilityUsed for
Clone and branchCloud agent runs on your code
Open and update pull requestsCloud agents and automations ship changes via PR
Read CI / check status"Fix failing CI" and review workflows
Webhook eventsAutomations when PRs open, checks fail, or code is pushed
Repo and branch listingAgents workspace repository picker

Common automation triggers

When GitHub sends…You might…
Pull request opened or updatedRun an automated review or summary
CI check failedStart a fix run or notify the team
Comment or mentionTrigger a scoped agent task
Push to mainPost-merge docs or hygiene tasks
App access changedRefresh which repos X4RGE can see

See Automations for templates and examples.

Permissions

The X4RGE GitHub app requests only what agents need to clone, commit, open PRs, and read CI status. You choose which repositories grant those permissions — not your whole account by default unless you select all repos.

PermissionWhy
Repository contents (read/write)Clone, commit, and push branches
Pull requests (read/write)Open and update PRs from runs
Checks (read)See CI results for automations
Metadata (read)List repositories and branches
Note

Grant access to repositories you actually use. You can add more repos later from GitHub's app settings — no need to reinstall X4RGE.

Admin checklist

Before rolling cloud agents to a team, confirm these items — most are one-time setup:

  • GitHub app installed on the correct GitHub org or account
  • Repository allowlist matches teams using cloud agents
  • Branch protection allows bot PRs (or requires human review — your choice)
  • Cloud agent setup completed for pilot repos
  • Secrets for private dependencies configured in cloud environment (not in chat)
  • Usage and Model control aligned with rollout

When something goes wrong

Most GitHub issues are repo access or sync timing — not a broken connection. Try these before opening a support ticket.

SymptomWhat to try
Repos missing in pickerConfirm the repo is selected in GitHub app settings; wait a minute for sync; refresh Integrations
Connection shows errorRe-open Integrations; confirm admin approved the integration if required
Automations not firingCheck the repo is connected and automation scope matches the repository
PR blocked by branch rulesAdjust branch protection or use a bot-friendly workflow in GitHub

For sign-in, Slack, Linear, or deeper sync issues, see Troubleshooting.