I seem to be maybe missing something or maybe just need a clarification. Does the CODEOWNERS file apply to repo owners/admins?
Reason I ask is because in my repository I have a master and a dev branch and set it up as suggested in this thread. Both branches have the CODEOWNERS file in a /.github directory. In the master branch codeowners file I but my user id as the only review using the ‘*’ syntax (e.g. “* @aspea002”). Had a colleague of mine test it out by opening a PR between master(base) and dev and my name shows up in the reviewers section. So to test things out further I then created/updated the dev branch with its own CODEOWNERS file contents to have it reference my colleagues ID. I then tried opening a PR with a dev2 branch against dev(master) however I do not see his name being added to the Reviewers section. I do so for a brief moment the words “Loading reviewers…” but then it just stops and shows “No Reviewers-select one”.
As I mentioned earlier, is this because I am a repo admin. I have tried different settings on the DEV branch everything from not having the DEV protected branch setting turned on to adding the protected branch settings with combinations of requiring a reviewer and codeowner review required and nothing has changed. Also forgot to mention this is all done with my colleague permission on the repo set to WRITE.
Any help would be appreciated.