I'm using the codeowners file to require PR approvals before they can be merged. What I'd like to do is:
- Require all PRs to have at least one approval from a group of code owners (engineers)
- Require all PRs to have at least one approval from a group of QA
It seems like the code owners file does a hierarchical thing where only one group owns the code and you can create rules for certain directories but those will just override the default code owner.
My current .github/CODEOWNERS
file looks like this:
* @my-org/engineer-code-owners
Is there a way to require at least one approval from two different groups?