-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
Bug Report: /* Pattern Matches Recursively
Reproducer: https://github.com/zsperske/codeownersReproducer
The library treats /* patterns as recursive (like /**), but GitHub's CODEOWNERS only matches direct children with /*.
Impact:
/packages/*matchespackages/other/src/file.js(should only matchpackages/other)- Causes false positives in ownership audits
- Diverges from GitHub's actual PR reviewer assignment
Evidence:
- Run
npm testin the reproducer to see the library incorrectly match nested files - See this PR where GitHub correctly does NOT assign ownership for nested files under
/packages/*
Tested with [email protected]
Metadata
Metadata
Assignees
Labels
No labels