Washington Guedes
Washington Guedes

Reputation: 4365

How to set CODEOWNERS file to exclude specific users?

I have the following repository/.github/CODEOWNERS file:

* @company-name/team-name

Then when someone opens a PR, it automatically random chooses two team members as reviewers (on behalf of the team).

The problem is that the product owner and the designer are also in the team, and sometimes they got selected as reviewers.

How can I specify their usernames in the CODEOWNERS file so they can not get selected as reviewers?

Upvotes: 2

Views: 2007

Answers (1)

Kaus2b
Kaus2b

Reputation: 845

You can do this in the Team settings on github

team settings

Upvotes: 3

Related Questions