Skip to content

Commit

Permalink
Update 4-add-branch-protections.md (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
halradaideh authored Sep 5, 2024
1 parent 85d7458 commit 2e1ff83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/steps/4-add-branch-protections.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Protected branches ensure that collaborators on your repository cannot make irre
### :keyboard: Activity: Add branch protections

1. Go to **Branches** settings. You can navigate to that page manually by selecting the right-most tab in the top of the repository called **Settings** and then clicking **Branches**.
1. Click **Add branch protection rule** under "Branch protection rules".
1. Click **Add classic branch protection rule** under "Branch protection rules".
1. Type `main` in **Branch name pattern**.
1. Check **Require a pull request before merging**.
1. Uncheck **Require approvals**.
Expand Down

0 comments on commit 2e1ff83

Please sign in to comment.