-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Description
When CODEOWNERS file defines rules:
* @acme/infra frank@example.com
src/lib/feat-a @acme/a-team
src/lib/feat-a/docs/* @acme/doc-team
src/lib/feat-a/docs/instructions.md @acme/infra
src/lib/feat-b @acme/b-team
src/lib/support/instructions.md @acme/b-team
And you open file src/lib/feat-a/docs/instructions.md and run :GhCoWho you get @acme/infra @acme/doc-team @acme/a-team. Using .../docs/* treats it as root * pattern.
To avoid issues like this, a proper test suite should be implemented that goes through examples given here. The plugin was originally intended to cover simple cases and did not try to be 100% accurate.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels