chore: add CODEOWNERS to auto-request reviews#4
Open
JacobPEvans-personal wants to merge 2 commits into
Open
Conversation
Add .github/CODEOWNERS so GitHub automatically requests a review from the responsible maintainer whenever a pull request touches code they own. @werd-drew is set as the owner of every area. Rather than a single `*` line, the file is split by area (api, commands, auth, config, output, utils, tests, dashboards, docs, packaging, repo automation) so a second reviewer can later be added to just one area without touching the rest. A catch-all `*` rule keeps everything owned by default; the more specific rules override it (last match wins).
There was a problem hiding this comment.
Pull request overview
Adds a GitHub CODEOWNERS file to automatically request reviews from the designated owner(s) based on which paths change in a PR, providing a foundation for future “Require review from Code Owners” branch protection.
Changes:
- Introduces
.github/CODEOWNERSwith a catch-all rule and more specific path-based ownership rules. - Splits ownership by meaningful codebase areas (API, commands, auth, config, output, utilities, docs, tests, automation) while currently assigning a single owner to all paths.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
JacobPEvans-personal
marked this pull request as ready for review
June 21, 2026 21:46
JacobPEvans-personal
marked this pull request as draft
June 21, 2026 21:52
JacobPEvans-personal
marked this pull request as ready for review
June 21, 2026 22:20
Co-owns the application code that can change backend API endpoints or CLI behavior (everything under /cribl_cli/ plus the /bin/ entry point) so reviews are auto-requested on the part integrated with X10.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What is CODEOWNERS?
CODEOWNERSis a GitHub-native file (here at.github/CODEOWNERS) that mapspath patterns → owners. When a pull request changes a file, GitHub looks up
who owns that path and automatically adds them as a requested reviewer. If
the repo later turns on the branch-protection rule "Require review from Code
Owners", those owners' approval also becomes required before merge.
How it works
<path-pattern> <owner> [<owner> ...].@user) or teams (@org/team), and must havewrite access to the repo or GitHub ignores them. (
@werd-drewhas adminaccess here, so he qualifies.)
*is listed first so it's the weakestrule; every more specific rule below it overrides the default for its paths.
main) to take effect — which is exactlywhat this PR does.
Why use it
automatically, every time, based on what changed.
What this PR does
Adds
.github/CODEOWNERSwith@werd-drewas the owner of all code currentlyon
main. Instead of a single blanket* @werd-drew, the file is broken intomeaningful areas:
*/cribl_cli/api//cribl_cli/commands//cribl_cli/auth//cribl_cli/config//cribl_cli/output//cribl_cli/utils//cribl_cli/cli.py/bin//pyproject.toml/tests//dashboards//README.md,/CLAUDE.md,/docs//.github/Everyone is
@werd-drewtoday. The split exists so a second reviewer can beadded to just one area later — e.g. change
/cribl_cli/api/to@werd-drew @someone-else— without affecting the rest.Test Plan
GET /repos/.../codeowners/errorsreturns
{"errors":[]}(no syntax or unknown-owner errors).Optional follow-up (not in this PR)
To make code-owner review required (not just auto-requested), enable
Settings → Branches → main → Require review from Code Owners. Left off for now
so it doesn't block these in-flight PRs.
🤖 Generated with Claude Code