Back to catalog

lengrufeng2008 /

lengrufeng2008/dsh-codeowners

Verified

Read-only CODEOWNERS matching for DSH with last-match-wins patterns.

★ 0 Stars0 Forks0 IssuesN/A Community rating0 Confirmed installs
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.

—/ 5

No ratings yet

Community comments

No comments yet. Be the first to write one.