Skip to content

Commit 9545d8d

Browse files
committed
chore(review): CodeRabbit stops requesting changes on outside pull requests
A failed Approvability check means a maintainer should read the pull request, but the request-changes workflow turned it into a "changes requested" review that told contributors to fix failing checks. The check still runs and reports its reason; it no longer blocks merging.
1 parent d720210 commit 9545d8d

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

‎.coderabbit.config.ts‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,15 @@ const approvability = `Fail when a maintainer should read this pull request befo
1414
Otherwise pass. A focused bug fix, copy or layout fix, revert, or docs-only or test-only change passes unless a rule above applies. If you cannot decide, fail rather than report inconclusive. When failing, say that the pull request needs a maintainer's review.
1515
`;
1616

17-
// Org members and collaborators merge their own pull requests. On anyone else's, CodeRabbit
18-
// requests changes until its comments are resolved and its checks pass, then approves.
17+
// Org members and collaborators merge their own pull requests. On anyone else's, the
18+
// Approvability check says whether a maintainer should read it first.
1919
const UNGATED_AUTHORS = new Set(["OWNER", "MEMBER", "COLLABORATOR"]);
2020
const isGated = ({ pr }: CodeRabbitContext) => !UNGATED_AUTHORS.has(pr?.authorAssociation ?? "");
2121

2222
export default defineConfig((ctx) => ({
2323
reviews: {
2424
high_level_summary: false,
2525
review_status: false,
26-
request_changes_workflow: isGated(ctx),
2726
allow_author_approval: !isGated(ctx),
2827
auto_review: {
2928
enabled: true,

0 commit comments

Comments
 (0)