Skip to content

Commit e3b243d

Browse files
Add CODEOWNERS — auto-request reviewer routing (JavaScriptSolidServer#426)
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.
1 parent 51034fe commit e3b243d

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

.github/CODEOWNERS

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# CODEOWNERS — paths that auto-request review from the listed owners.
2+
#
3+
# GitHub matches paths in order. The most specific match for a given
4+
# file wins. The catch-all `*` pattern at the top covers everything
5+
# else; the path-specific entries below document review responsibility
6+
# for security-sensitive surfaces explicitly.
7+
#
8+
# Format reference:
9+
# https://docs.github.com/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners
10+
11+
# Default — all files
12+
* @melvincarvalho
13+
14+
# Auth / security-sensitive paths
15+
/src/auth/ @melvincarvalho
16+
/src/idp/ @melvincarvalho
17+
/src/utils/ssrf.js @melvincarvalho
18+
19+
# CLI and release surface
20+
/bin/ @melvincarvalho
21+
/package.json @melvincarvalho
22+
/package-lock.json @melvincarvalho
23+
24+
# Legal / policy substrate
25+
/LICENSE @melvincarvalho
26+
/CONTRIBUTING.md @melvincarvalho
27+
/.github/ @melvincarvalho

0 commit comments

Comments
 (0)