We have recently enabled required CODEOWNER reviews for pull requests in to our master branch from at least one developer on the team (we have a GitHub team set up to catch all files in the codeowners file). Example CODEOWNERS file is:
* @org-name/dev-team /path/specific-file.xml @org-name/dev-sub-team
We want to require at least one code review from a member of the dev team and this does work with this set up, but it has the downside that now that the whole team is automatically assigned to new pull requests, meaning that every member of the team gets notifications for every pull request.
Is there anyway to require an approval from a member of the team without automatically assigning the team to the pull request to prevent them getting the notifications?