This README provides guidance and recommendations regarding the GitHub branch protections as well as team assignment to repos. This standard enforces branch protection on the development branch and main branches on projects to prevent accidental pushes to each branch. It seems to work pretty well on our other boilerplate projects.
Approach
Adds images and step by step instructions to set up branch protections on a repo.
Changes
Purpose
This README provides guidance and recommendations regarding the GitHub branch protections as well as team assignment to repos. This standard enforces branch protection on the development branch and main branches on projects to prevent accidental pushes to each branch. It seems to work pretty well on our other boilerplate projects.
Approach
Adds images and step by step instructions to set up branch protections on a repo.
Learning
https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches
https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/managing-a-branch-protection-rule
https://github.community/t/best-practices-for-protected-branches/10204/2
Closes #315