I have my codeowners file set up and grouped by teams, so something like this:
# Team A /engn/headers/sql_file1.in @ORG/team-a /engn/headers/sql_file2.in @ORG/team-a /engn/headers/sql_file3.in @ORG/team-a /engn/headers/pdSql_file1.in @ORG/team-a #Team B /engn/headers/sqp_file1.in @ORG/team-b /engn/headers/sqp_file2.in @ORG/team-b /engn/headers/sqp_file3.in @ORG/team-b /engn/headers/pd* @ORG/team-b
Who will be the owner of
pdSql_file1.in ? The docs say the order matters, so I would assume since team-b comes after team-a, it’s general ownership overwrites the specific ownership of team-a.
Note I don’t want teams sharing the ownership of that file, it should be owned solely by team-a.
Is grouping by teams not the correct thing to do?