Hi Experts, looking for your support on adding the CODEOWNERS with teams.yaml
Here is my team.yml
************************************ teams.yaml ********************************
developers: # Name of the Team
contributors: # Array of contributors by email address
- abc@domain.com
- def@domain.com
reviews: # Configuration for selecting PR reviewers
strategy: all # Reverse sort by # of open PR's they are reviewing (least_busy,all or random)
#select: 2
principals: # Name of the Team
contributors: # Array of principal Engineers by email address
- ghi@domain.com
- jkl@domain.com
reviews: # Configuration for selecting PR reviewers
strategy: all # Select all users, no filtering/sorting applied
associate_principals: # Name of the Team
contributors: # Array of associate principal Engineers by email address
- mno@domain.com
reviews: # Configuration for selecting PR reviewers
strategy: all # Select all users, no filtering/sorting applied
leads: # Name of the Team # Array of leads by email address
contributors: # Array of leads by email address
- pqr@domain.com
reviews: # Configuration for selecting PR reviewers
strategy: all # Select all users, no filtering/sorting applied
**********************************CODEOWNERS***************************************
# Use @ teams to prefix your team name and reference teams.yaml
* @ teams/developers @ teams/principals
*****************************************************************************************
NOTE: In code owner file i have intentionally gave a space in between at the rate and teams due to community post does not allow.
Not sure why its throwing error:
Code Owners warning: teams/developers: user not found
Code Owners warning: teams/principals: user not found