AI Code Review Bot

VCS Adapters

Use the VCS adapters to resolve a PR/MR by its ID and compute the diff automatically. Supported platforms: GitHub, GitLab, and Bitbucket.

Overview

GitHub setup

GitLab setup

Bitbucket setup

How it works without --diff-file

  1. Resolve base/head branches from the PR number (GitHub), MR IID (GitLab), or PR ID (Bitbucket) via the platform API.
  2. Run git fetch --all, fetch both branches and compute git diff base...head.
  3. Analyze the resulting unified diff with the pipeline.

Posting comments

Pass --comment to post the human summary back to the PR/MR via the adapter.

Troubleshooting