Skip to content

Scope ownership to the paths that can do harm - #4

Merged
davidmckayv merged 1 commit into
mainfrom
codeowners-paths
Aug 17, 2026
Merged

Scope ownership to the paths that can do harm#4
davidmckayv merged 1 commit into
mainfrom
codeowners-paths

Conversation

@davidmckayv

Copy link
Copy Markdown
Contributor

Replaces the whole-tree * rule with path-scoped ownership, following the shape OpenTag uses, adapted to the paths OpenBot actually has.

Also drops @CopilotKit/engineering. GitHub requires a code-owner team to be publicly visible, and that team is secret, so the line was silently ignored and the ownership it described never existed. The same line is broken in OpenTag and @CopilotKit/demo is broken in CopilotKit, both of which are worth a separate heads-up.

Reviews from people without write access do not count toward the required approval, so this does not open anything to drive-by approvals.

This repository is about to be public, and its collaborator list is inherited
from the organisation, so roughly a dozen accounts could otherwise approve a
change and land it. Ownership of the whole tree, plus a merge restriction on
main, narrows both to the two people who maintain it.

The previous file also named a team that GitHub rejected. A code-owner team
must be publicly visible, and that one is secret, so the line was ignored and
the ownership it described did not exist.
@davidmckayv
davidmckayv merged commit 3fa83f0 into main Aug 17, 2026
3 checks passed
@davidmckayv
davidmckayv deleted the codeowners-paths branch August 17, 2026 03:15
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