READMESource: main@70880615
CODEOWNERS for DSH
Read-only file-to-owner routing with GitHub-style last-match-wins CODEOWNERS patterns.
Use
node bin/dsh-codeowners.mjs --root . docs/a.md src/a.js
node bin/dsh-codeowners.mjs --root . --json
In DSH:
Use codeowners_lookup with root=. and the changed files.
Limits
- Routing helper, not approval/enforcement
- No GitHub API, owner validation, or branch protection
- Practical glob subset; test unusual patterns
Tests
npm test
Provenance
A small independent matcher. License: MIT.
No comments yet. Be the first to write one.