How automatically add a reviewer from a team when a PR is created? #47988
-
Hello everyone! We recently move from Gitlab to GitHub and I struggle with a automatic reviewer assignment. Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
It sounds like a You can add a branch protection rule to require reviews before merging. |
Beta Was this translation helpful? Give feedback.
-
Thank you @spenserblack for your answer! It seems indeed to be the solution for my issue. |
Beta Was this translation helpful? Give feedback.
-
I have the githup/CODEOWNERS with below content but when i create pull request , it is not assigning the default reviewers .
|
Beta Was this translation helpful? Give feedback.
It sounds like a
CODEOWNERS
file is what you need for automatic reviewer assignments 🙂You can add a branch protection rule to require reviews before merging.