Make it impossible to push directly to master/main and require at least one approving reviewer before PRs can be merged.
This helps to
- Ensure code quality
- Make sure others notice the changes that are made
- Document changes to the code (with descriptive top posts, PR conversation, and by linking PRs to issues)
https://docs.github.com/en/enterprise-server@3.4/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#require-pull-request-reviews-before-merging
Make it impossible to push directly to master/main and require at least one approving reviewer before PRs can be merged.
This helps to
https://docs.github.com/en/enterprise-server@3.4/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#require-pull-request-reviews-before-merging