Turn off automatic reviews
otto.yml
/otto review to get a review.
Skip rules
Skip automatic reviews of PRs that match any rule:otto.yml
Otto checks
enabled, then the rules in the order above, and reports the first one that matches.
What a skip does
enabled: false and the skip rules apply to automatic reviews: new pull requests, new pushes, and review requests. They never block an explicit /otto review or /otto re-review comment, which runs a full review with the rest of otto.yml.
When a skip rule matches, Otto completes the run without reviewing, at no cost:
- GitHub: the Otto Review check completes as neutral with “Otto skipped this review” and names the rule that matched, for example
skip.labels: no-otto. - Azure Repos: the
otto/reviewstatus is set to not applicable, and Otto comments on the PR naming the rule. On later pushes it edits that comment instead of adding another.
otto.yml from the PR’s base commit, a PR can’t skip its own review by editing otto.yml.
