Skip to content

fix(codeowners): give all five maintainers full ownership - #187

Merged
josealekhine merged 1 commit into
mainfrom
fix/codeowners
Oct 6, 2026
Merged

josealekhine merged 1 commit into
mainfrom
fix/codeowners

Conversation

@josealekhine

Copy link
Copy Markdown
Member

GitHub applies only the last CODEOWNERS pattern that matches a file.
The file had five separate * @user lines, each overriding the one
above, so @bilersan alone owned most of the repo; and eight later
path rules (/cmd/, /internal/, *.md, /docs/, /specs/, /hack/,
/.github/, Makefile) made @josealekhine sole owner of those paths.
The other three maintainers owned nothing, though the intent is that
all five own everything and any one can give the code-owner approval
the main ruleset requires.

Collapse it to one rule, * @josealekhine @parlakisik @CoderMungan @hamzaerbay @bilersan, with a comment explaining the last-match rule.
TestCodeownersSingleRule fails if CODEOWNERS ever holds more than
that one * rule, the shape that broke it; owner names are not
pinned, so adding a maintainer stays a one-line edit.

Spec: specs/codeowners-full-ownership.md

GitHub applies only the last CODEOWNERS pattern that matches a file.
The file had five separate `* @user` lines, each overriding the one
above, so @bilersan alone owned most of the repo; and eight later
path rules (/cmd/, /internal/, *.md, /docs/, /specs/, /hack/,
/.github/, Makefile) made @josealekhine sole owner of those paths.
The other three maintainers owned nothing, though the intent is that
all five own everything and any one can give the code-owner approval
the main ruleset requires.

Collapse it to one rule, `* @josealekhine @parlakisik @CoderMungan
@hamzaerbay @bilersan`, with a comment explaining the last-match rule.
TestCodeownersSingleRule fails if CODEOWNERS ever holds more than
that one `*` rule, the shape that broke it; owner names are not
pinned, so adding a maintainer stays a one-line edit.

Spec: specs/codeowners-full-ownership.md
Signed-off-by: Jose Alekhinne <jose@ctx.ist>
@josealekhine
josealekhine requested a review from bilersan as a code owner October 6, 2026 02:47
@josealekhine josealekhine self-assigned this Oct 6, 2026
@josealekhine
josealekhine merged commit 2e29650 into main Oct 6, 2026
18 checks passed
@josealekhine
josealekhine deleted the fix/codeowners branch October 6, 2026 02:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant