Apply a review rule to team authors or owned files
In Settings → Review policy → Review rules, create or edit a team-scoped rule and choose which relationship between the team and the change should trigger it.
Choose a team match#
For a team rule, choose Team match:
- Author in team applies to every changed file when the pull request author belongs to the team or a child team.
- Files owned by team applies to changed files that CODEOWNERS at the review's pinned merge base assigns to the team.
- Either applies to every changed file for a member author, otherwise to the files owned by the team. Child-team membership counts.
Path and language restrictions narrow the applicable files for every option. A team removed from GitHub matches nothing.