Reputation: 81
I have a file structure like this:
repo/
|-- .github/CODEOWNERS
|-- .circleci/
|-- app/
|-- RELEASE.md
|-- README.md
And my CODEOWNER file:
* @people1 @people2
/.circleci/ @people3 @people4
/app/ @people3 @people1
I want to make it to that RELEASE.md
is excluded and the global owners review are not mandatory only for that file. Is this possible?
Upvotes: 1
Views: 1364
Reputation: 52102
You can mention the file explicitly with no owners, which overrides the *
pattern (last most specific match counts):
* @people1 @people2
/.circleci/ @people3 @people4
/app/ @people3 @people1
RELEASE.md
Upvotes: 3