From e50a61d63755a4a955c2a6535a865773e2ac01d5 Mon Sep 17 00:00:00 2001 From: Andrea Luzzardi Date: Thu, 31 Mar 2022 13:30:16 -0700 Subject: [PATCH] ci: add CODEOWNERS CODEOWNERS is a tool to encode PR approval rules. When a PR is opened, at least one code owner is required to approve it before being merged. It does **not**: - Limit reviewers: Everyone is welcome and encouraged to review any PR. But at least one CODEOWNER must approve before merging. - Limit contributions or ownership: Every maintainer is responsible for the entire project. CODEOWNERs are there to review PRs for consistency. By default, any maintainer can approve any PR. There's a couple of exceptions for consistency/specialty: - Core API: The core API must be consistent and changes are hard to reverse - Universe API: Similar to the Core API, it must be kept consistent. In the future, we will have specialized code owners (e.g. universe/aws) - Docs website: Requires specialized (frontend) skills to maintain for visual consistency. Signed-off-by: Andrea Luzzardi --- CODEOWNERS | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 CODEOWNERS diff --git a/CODEOWNERS b/CODEOWNERS new file mode 100644 index 00000000..42fe99a4 --- /dev/null +++ b/CODEOWNERS @@ -0,0 +1,29 @@ +# CODEOWNERS is a tool to encode PR approval rules. +# +# When a PR is opened, at least one code owner is required to approve it +# before being merged. +# +# It does **not**: +# +# - Limit reviewers: Everyone is welcome and encouraged to review any PR. +# But at least one CODEOWNER must approve before merging. +# +# - Limit contributions or ownership: Every maintainer is responsible for +# the entire project. CODEOWNERs are there to review PRs for +# consistency. +# +# By default, any maintainer can approve any PR. There's a couple of +# exceptions for consistency/specialty. + +# Default owners for everything in the repo +# Later matches takes precedence +* @dagger/maintainers + +# Core CUE API +/pkg/dagger.io/ @helderco @shykes + +# Universe +/pkg/universe.dagger.io/ @helderco @shykes + +# Documentation website +/website/ @slumbering