Resolution
In this section, you set up a rule on GitHub that requires at least one reviewer to approve a pull request before it can be merged into the master branch. You set up the rule and then verify that it works by pushing up a fix to the typing error that Mara made earlier.
Add the rule
- In GitHub, go to your XXXXXXXX project repository.
- Select the Settings tab near the top of the page.
- On the menu, select Branches.
- Make sure that master is selected as your default branch.
- Select Add rule.
- Under Branch name pattern, enter master.
- Select the Require pull request reviews before merging check box.
- Keep the Required approving reviews value at 1.
- To create the rule in the master branch, select Create.
- Select Save changes.
No comments:
Post a Comment