Skip to content

Add CODEOWNERS for reviewer routing - #426

Merged
melvincarvalho merged 1 commit into
gh-pagesfrom
add-codeowners
May 13, 2026
Merged

Add CODEOWNERS for reviewer routing#426
melvincarvalho merged 1 commit into
gh-pagesfrom
add-codeowners

Conversation

@melvincarvalho

Copy link
Copy Markdown
Contributor

Adds .github/CODEOWNERS to route GitHub's auto-review-request mechanism for paths that should always get explicit maintainer review.

Categories

  • Default (*) — all files
  • Auth / security/src/auth/, /src/idp/, /src/utils/ssrf.js
  • CLI / release surface/bin/, /package.json, /package-lock.json
  • Legal / policy substrate/LICENSE, /CONTRIBUTING.md, /.github/

All currently route to @melvincarvalho. The per-path breakdown documents review-responsibility intent rather than splitting reviewers — the structure is ready for co-maintainer expansion when J O'Hare onboards (security/release paths stay with the lead, broader code can split).

Behaviour

CODEOWNERS by itself is advisory — it causes GitHub to auto-request review from the listed owners on PRs touching matching paths. Without a branch-protection rule requiring CODEOWNERS approval, it doesn't block merges. That's intentional for now; this PR is the path-mapping side of the work, and protection-rule enforcement can follow later when there's a second maintainer to enforce against.

Routes review requests for path categories explicitly:

- Default (*) — @melvincarvalho
- Auth / security paths (src/auth, src/idp, src/utils/ssrf.js) —
  @melvincarvalho explicitly, signalling security-sensitive surface
- CLI / release surface (bin/, package.json, package-lock.json) —
  @melvincarvalho explicitly, since these affect what npm publishes
- Legal / policy substrate (LICENSE, CONTRIBUTING.md, .github/) —
  @melvincarvalho explicitly

Currently all paths route to the same maintainer; the per-path
breakdown documents review responsibility intent for paths that
should always get explicit maintainer review when contribution
volume grows or co-maintainers are added.

No enforcement: this just causes GitHub to auto-request review
from listed owners on PRs touching matching paths. Without a
branch-protection rule requiring CODEOWNERS approval the request
is advisory.
@melvincarvalho
melvincarvalho merged commit e3b243d into gh-pages May 13, 2026
@melvincarvalho
melvincarvalho deleted the add-codeowners branch May 13, 2026 07:47
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