You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As our project gets larger and larger our internal team can't be expected to keep track of all incoming pull requests. Additionally, we want to ensure that the code that enters our codebase is of high quality and isn't reviewed by someone who doesn't understand the codebase.
What is the solution
Create a codeowners file. This will allow us to automatically set required reviewers for an issue. Example
Let's say I was an expert on the docs. With codeowners any issue that touches the /docs directory will automatically have me as a reviewers, AND branch protection rules will be setup so that a codeowners must review the PR.
The text was updated successfully, but these errors were encountered:
What is the problem at hand?
As our project gets larger and larger our internal team can't be expected to keep track of all incoming pull requests. Additionally, we want to ensure that the code that enters our codebase is of high quality and isn't reviewed by someone who doesn't understand the codebase.
What is the solution
Create a codeowners file. This will allow us to automatically set required reviewers for an issue.
Example
Let's say I was an expert on the docs. With codeowners any issue that touches the
/docs
directory will automatically have me as a reviewers, AND branch protection rules will be setup so that a codeowners must review the PR.The text was updated successfully, but these errors were encountered: