The codeowners syntax allows you to specify more than 1 team such as:
* @org/developers @org/architecture
Using branch protection, you can require PR’s to be approved by codeowners, and specify the number of reviews it needs, however these reviews can be by members of either team (e.g. 2 developers, or 2 architects), and there’s no way to enforce it needing to be at least 1 from each. What I would like is to require at least 1 review from a member of the developers group, and 1 review from an architect separately. It doesn’t seem to be possible right now, but if there was a way to specify this such as:
@org/developers + @org/architecture
Which applied the specified number of reviews separately from each mentioned team, or an option in the branch protection settings, this would greatly help facilitate workflows requiring sign-off from more than one stakeholder team.