diff --git a/CODEOWNERS b/CODEOWNERS new file mode 100644 index 000000000..accd1ab0 --- /dev/null +++ b/CODEOWNERS @@ -0,0 +1,11 @@ +# To enhance the review process, specific teams and individuals are designated as code owners for different parts of the repository. +# +# Ownership rules: +# 1. The top three contributors to a directory are assigned as owners. +# 2. If a directory lacks active contributors, the dev team is assigned as a fallback. +# 3. Contributors with fewer than two commits are ignored. +# +# Ownership is determined dynamically using the following command: +# git log --since="24 months ago" --pretty=format:'%an' -- | sort | uniq -c | sort -nr | head -n 3 + +* @ibrokethecloud @Vicente-Cheng @starbops @harvester/dev