Configure CodeRabbit CI/CD integration with GitHub Actions and testing. Use when setting up automated testing, configuring CI pipelines, or integrating CodeRabbit tests into your build...
Build a merge policy from observable provider state. CodeRabbit review state, GitHub Checks ingestion, and branch protection are separate contracts.
references/official-docs.md and re-check any time-sensitive contract before execution.reviews.request_changes_workflow controls whether CodeRabbit can submit a changes-requested review.Treat Git-provider sessions, CodeRabbit web sessions, CLI credentials, and CodeRabbit API keys as separate credentials. Use only an already-approved session or secret-manager reference, never print a secret, and do not place credentials in .coderabbit.yaml, source files, logs, or deliverables.
Inspect current branch rules, recent CodeRabbit reviews, and actual check-run names.
Choose whether review state is advisory or required, and list independent CI authorities.
Pilot the smallest YAML and branch-rule change without enabling enforcement.
Prove clean, failing, and rollback paths before enabling the policy.
Require repository-owner approval before changing branch rules, request-changes behavior, or bypass procedures. Keep analysis and drafts local until approval is explicit, and record who approved the action and its scope.
A merge-policy record, observed check inventory, reviewed patch, pilot evidence, and rollback procedure. Include source dates, unknowns, and the exact boundary between observed fact and recommendation.
| Condition | Response |
|---|---|
| Current contract is unclear or docs disagree | Stop mutation, cite both sources, and request owner resolution. |
| Required access or approval is missing | Produce a draft and evidence plan only. |
| Validation or pilot behavior differs from expectation | Restore the prior state and retain the failed evidence. |
| Output contains secrets or private code | Stop, quarantine the artifact, redact it, and notify the data owner. |
Replace a guessed coderabbitai required check with observed review and check evidence.
Pilot request-changes behavior while retaining required tests and secret scanning.
references/official-docs.md.