Learning center

Which branch supplies the rules for an AI pull request review?

Check your reviewer's configuration source before testing a rule on the pull request that introduces it. A review may read the proposed branch, the base commit, or a separately selected branch.

Compare two pull requests with the same patch#

Under CodeRabbit's automatic selection, a trusted author's same-repository pull request can use its own configuration. A pull request from a fork uses the base commit. The result can differ even if both authors propose identical changes to the instruction file. GitHub Cloud installations of CodeRabbit Cloud can also select a configuration branch.

Record the reviewed commit and the configuration commit separately. In the fork example, look up the rule at the recorded base before judging whether the reviewer missed it. Reading today's default branch can give you a third version that neither review saw. How CodeRabbit selects a configuration branch

One month of free code review.

New organizations get one calendar month of hosted code review for private and public GitHub repositories. No card or cloud connection required. Eligibility and fair-use terms.

Start free with GitHub

Related reading