diff --git a/.coderabbit.config.ts b/.coderabbit.config.ts new file mode 100644 index 000000000..909f506ac --- /dev/null +++ b/.coderabbit.config.ts @@ -0,0 +1,13 @@ +// This file is synced from the `.github` repository, do not modify it directly. +import { defineConfig } from "@coderabbitai/config" + +// Approved authors for this repository, populated by the shared configuration sync. +const autoApproveAuthors = new Set([]) + +export default defineConfig((ctx) => ({ + inheritance: true, + + reviews: { + request_changes_workflow: autoApproveAuthors.has(ctx.pr?.author.toLowerCase() ?? ""), + }, +})) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 000000000..85fe86de9 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,5 @@ +# This file is synced from the `.github` repository, do not modify it directly. +# Lead maintainers must approve changes to CodeRabbit configuration and CODEOWNERS files. +CODEOWNERS @Homebrew/lead-maintainers +/.coderabbit* @Homebrew/lead-maintainers +/coderabbit* @Homebrew/lead-maintainers