Overview
The Niro GitHub integration uses a GitHub App to connect your repositories to your clusters. Once connected, you get:- Automatic manifest validation when PRs are opened
- Advisory AI review posted as PR comments
- Auto-apply to the cluster on merge
- GitHub Deployment statuses on commits
- Image Automation: auto-PR when new image versions are published
How it works
Niro creates a GitHub App on your behalf (via GitHub’s App manifest flow). This App:- Installs in your GitHub account or organization
- Receives webhooks for PR and push events on repos you’ve granted access to
- Posts review comments and check runs to PRs
- Creates GitHub Deployment statuses when applies complete
- (For image automation) reads package/release tags from the registry
Setup
See Set Up GitOps for the full step-by-step walkthrough.GitHub App permissions
The Niro GitHub App requests the following permissions:
For Image Automation:
Webhook events
Niro subscribes to the following GitHub webhook events:
Webhook delivery is idempotent — Niro deduplicates by GitHub’s delivery ID to prevent double-processing.
PR review behavior
When a PR is opened against a linked repo branch:- Webhook received — Niro immediately returns
202 Acceptedand enqueues the job - Background job runs — parses manifests, runs policy checks, optionally runs AI review
- PR comment posted — a single comment per deployment lists all findings
- Check run created — shows pass/warn/fail in the PR checks section
Check run states
Check runs are never blocking — they don’t prevent merging regardless of findings.
Repo link settings
Each repo link has the following settings (editable on the Integrations page):Multiple repos and clusters
You can link:- Multiple repos to the same cluster
- The same repo to multiple clusters (e.g.
deploy/production→ prod cluster,deploy/staging→ staging cluster) - Multiple folders in the same repo to different clusters or deployments
Uninstalling
To remove the GitHub integration:- Go to Integrations → GitHub
- Click Uninstall App — this removes all repo links and the App installation from GitHub
Related
- Set Up GitOps — full walkthrough
- Image Automation — auto-PR on new image versions
- Policies — rules evaluated on PRs
- Deployments — how Niro manages workloads