Closed
Description
Negation globs seemingly don't work. For example, I can't do something like this:
- '!(workspaces)/**/sourcing/**/*'
to say that I want this team to own any folder that has a "sourcing" subfolder in the path, but not within any "workspaces" folders.
This works just fine when tested with compgen
. code_ownership
doesn't seem to throw an error when validating, but when checking a path that should be owned under that glob, say lib/sourcing/some_file.rb
, it incorrect states that it's not owned. Interestingly, it still correctly updates the CODEOWNERS
file with the negation glob.
So now, instead of having single glob that covers most of this team's ownership, I will have to explicitly map out each folder instead.