packages/kilo-docs/pages/automate/code-reviews/github.md
Kilo's Code Reviews integrate with GitHub via a GitHub App to automatically review pull requests with AI. When a PR is opened, updated, or marked ready for review, the Review Agent analyzes the changes and posts feedback directly on the pull request.
Connect your GitHub account via the Integrations page. Once connected, return here to configure the Review Agent.
The GitHub App requests the following permissions:
| Permission | Access | Purpose |
|---|---|---|
| Pull requests | Read & Write | Post review comments |
| Repository contents | Read | Analyze code |
| Issues | Read & Write | Post summary comments, reactions |
| Metadata | Read | List repositories |
Once configured, the Review Agent automatically runs when:
| PR Event | Triggers Review |
|---|---|
| PR opened | ✅ Yes |
| New commits pushed to PR | ✅ Yes |
| PR reopened | ✅ Yes |
| Draft PR marked ready | ✅ Yes |
| Draft PR opened | ❌ Skipped |
| PR closed | ❌ No |
When a review triggers:
The repository list is synced from GitHub and can be refreshed from the configuration page.
The system automatically deduplicates reviews for the same PR and commit SHA. If you see duplicate comments, this may be from a previous version — push a new commit to trigger a fresh review.