Setting up a quality gate allows you to prevent any code that doesn't pass code reviews, from being merged into certain branches. 

Create a protected branch

  • In your repository settings in GitHub, go under Settings  > Branches .
  • Select the branch you would like to create the gate for
  • Select theProtect this branch 
  • Select the Require status checks to pass before merging 
  • Select Clayton  

Video tutorial

Did this answer your question?