Auto-approval lets you skip human review for pull requests that cubic determines are low risk and issue-free. When a PR matches your repository policy, cubic can submit the GitHub approval so the change can keep moving. Not every PR needs a human reviewer. Documentation updates, test-only changes, small config edits, and other low-risk PRs can move faster when cubic has already reviewed them and found no issues. Human reviewers can spend their time on changes that need judgment: product logic, infrastructure, security, data models, and other high-impact code. You stay in control by choosing the policy per repository. Auto-approval is disabled by default, and you can test it in shadow mode before cubic submits real GitHub approvals.Documentation Index
Fetch the complete documentation index at: https://docs.cubic.dev/llms.txt
Use this file to discover all available pages before exploring further.

How it works
cubic treats auto-approval as part of the review outcome. If the review is clean and your settings allow approval, cubic can approve the PR. If the PR does not match your policy, cubic leaves a normal review comment instead. Shadow mode is the safe way to start. It keeps cubic in comment-only mode, but adds a summary showing whether cubic would have approved the PR.Recommended workflow
Start with repositories where the risk is low, such as documentation, internal tools, test fixtures, or repos with narrow change types. Auto-approval settings are configured per repository, so you do not need to roll it out everywhere at once.- Open AI review settings and select one repository.
- Set Behavior to Shadow.
- Choose Low-risk only or write a Custom policy for that repository.
- Watch a few real PRs to see which ones cubic would approve.
- Add never-auto-approve rules for sensitive paths, such as migrations or infrastructure.
- Switch Behavior to Live when the shadow results match your team’s expectations.
Behavior and policy
Behavior controls whether cubic submits real approvals:- Disabled: cubic only comments.
- Shadow: cubic comments and shows what it would have approved.
- Live: cubic submits a real GitHub approval when the policy allows it.
- Low-risk only: recommended default for most repositories.
- Custom: your own approval criteria, such as “only approve tests and docs.”
- Always: approves any clean review. Use this only for repositories where that is acceptable.
Safety controls
Auto-approval is conservative by design:- cubic only approves when it finds no review issues.
- Shadow mode never submits a real approval.
- Never-auto-approve rules block approval when a PR changes sensitive files.
- GitHub branch protection still applies, including required checks, required reviewers, and code owner rules.
cubic.yaml.
Next steps
- AI review settings: Configure auto-approval in the dashboard.
- Configure with cubic.yaml: Version-control auto-approval settings.