Skip to content

Commit e46ef22

Browse files
committed
chore(review): leave internal authors' CodeRabbit settings unchanged
`allow_author_approval: false` and `override_requested_reviewers_only` applied to every author, so org members and collaborators lost `@coderabbitai resolve` and `approve` on their own pull requests. Tie both to the gate, so their effective config matches `main`.
1 parent 0ed84ff commit e46ef22

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎.coderabbit.config.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ export default defineConfig((ctx) => ({
2424
high_level_summary: false,
2525
review_status: false,
2626
request_changes_workflow: isGated(ctx),
27-
allow_author_approval: false,
27+
allow_author_approval: !isGated(ctx),
2828
auto_review: {
2929
enabled: true,
3030
},
3131
pre_merge_checks: {
3232
docstrings: { mode: "off" },
33-
override_requested_reviewers_only: true,
33+
override_requested_reviewers_only: isGated(ctx),
3434
custom_checks: [
3535
{
3636
name: "Approvability",

0 commit comments

Comments
 (0)