Skip to main content
Claude Approvals is a check on GitHub pull requests that reports who still has to approve. It follows a policy, a file in your repository that can set how many people have to approve a change to a path and where Claude may approve.
To turn on Claude Approvals in a repository, follow Set up Claude Approvals.
To evaluate a pull request, Approvals reads the policy, finds the rules that apply, and counts approvals: Diagram of how Claude Approvals evaluates a pull request. Approvals reads the policy on the default branch, finds the rules that apply and takes the strictest, and counts approvals. A check and a comment appear on the pull request. If the policy allows, an approving review appears too. Diagram of how Claude Approvals evaluates a pull request. Approvals reads the policy on the default branch, finds the rules that apply and takes the strictest, and counts approvals. A check and a comment appear on the pull request. If the policy allows, an approving review appears too. Use Approvals to set how many people have to approve a change, with more on risky changes and fewer on routine ones. For example, billing code can need two people, and test fixtures can need one person once Code Review passes.
For permission prompts in a Claude Code session, see Configure permissions.

Find Claude Approvals on a pull request

Approvals adds a check named Claude Approvals to the pull requests that it evaluates. The check’s title says what’s still needed, such as Waiting on human review from any person (1/2). A title that starts with (observe mode) means that the policy wasn’t enforced when the check ran. In observe mode, the check shows what your policy would decide. Claude also posts a comment with the reasons. Where the policy allows it, Claude can post an approving review. For the common titles and what to do about each, see Find your approval status and what to do next. If a pull request has no check, see No Claude Approvals check appeared.

Example policy

You write a policy as a list of rules in .claude/approvals.yml. This policy has one rule, which asks for two people on every change:
Each part of the policy sets one thing:
  • mode: observe: starts the policy in observe mode
  • purpose: says why the rule exists
  • paths: names the files that the rule matches, which here is every file
  • seats: 2: asks for two people, one of whom can be the author
  • claude: comments: means that Claude doesn’t approve
  • advisory: keeps automatic Code Reviews
You can also give a rule a condition, which can read facts about the pull request and classifiers’ answers:
  • Facts about the pull request: such as how many lines changed, who opened it, and which branch it targets
  • A classifier’s answer: a model’s judgment on a question such as how risky the change is
A condition can’t read CI results, so keep CI as its own required check in GitHub.

Before you turn on Approvals

Before you add a policy file to a repository, check that your organization qualifies and who can turn Approvals on or off. Then see what Approvals changes for merges, Code Review, and billing.

Availability

Approvals is in public beta for Claude organizations on Team and Enterprise plans, as part of Claude Ship. It works on github.com, including GitHub Enterprise Cloud. Compliance settings limit who can use it:
  • Not available: with Zero Data Retention enabled, the HIPAA configuration applied, or customer-managed encryption keys (CMEK)
  • Can’t start Approvals: with FERPA or Access Transparency settings

Who can turn Approvals on or off

Once the prerequisites are met, anyone who can merge a policy file into the default branch can turn Approvals on. An Owner of the Claude organization can turn Approvals off for the whole organization, and it then stays off when a policy file merges.

Merges without human review

A pull request can merge when nobody but its author has looked at it. Check your policy and your GitHub rules for cases such as these:
  • The check isn’t required: the Claude Approvals check blocks a merge only where you make it a required check in GitHub, and normally not in observe mode
  • The policy asks for nobody else: the author can fill a seat, so with seats: 1 nobody else has to look. With seats: 0, a pull request that a bot wrote can merge when no person has looked at it
  • GitHub counts Claude’s approval: where a GitHub branch rule requires one approval, Claude’s approving review can be that approval
  • Claude approves with no review: a rule with claude: approves starts no Code Review by itself, so Claude can approve a change that nothing has reviewed. To get a review first, let Claude approve only when Code Review passes
For the other cases, and a rule that asks for a person who isn’t an author, see Merges without human review.

Keep automatic Code Reviews

Code Review, another Claude Ship agent, can review each pull request automatically. Adding a policy file can stop those reviews. Where every file that a pull request changes lies under a policy file, automatic reviews normally stop, unless a rule for those files names claude/code_review. That holds in observe mode and when the policy is enforced. To keep automatic reviews, list claude/code_review in a rule, as the example policy does under advisory.

Billing for Approvals

Approvals bills your organization’s usage credits, by tokens, for the Code Reviews and classifier runs that a policy starts. See what starts a charge.

Set up Claude Approvals

To set up Approvals, start your policy in observe mode, where the Claude Approvals check shows what your policy would decide. Reviews and classifier runs are billed in observe mode. For starter policies and the steps, see Set up Claude Approvals.