RSE-Sheffield / git-github-zero-to-hero

Training materials for zero to hero training in version control through git, github and gitkraken
https://srse-git-github-zero2hero.netlify.app/
17 stars 10 forks source link

Protect branch from merging by requiring tests #90

Open ns-rse opened 1 year ago

ns-rse commented 1 year ago

We've found that often people rush ahead and sometimes merge things before they should.

If we add in a branch protection rule to require the actions to pass before merging at the same time as requiring a code review this would prevent that problem.