Skip to main content
All CollectionsIntegrating Git and CI/CDGitHub Cloud
Configuring Branch and Merge Protection Rules in GitHub Cloud
Configuring Branch and Merge Protection Rules in GitHub Cloud

Set Branch & Merge Rules

Support avatar
Written by Support
Updated this week

GitHub combines Branch and Merge protection rules into a single function. Navigate to the repository used by Salto, go to the Settings tab, select Branches on the left, and click on Add branch protection rule.

In Salto, you can find your environment branch name under Version Control. The exact branch you want to protect is displayed in bold after the last slash.
​


In GitHub, type your environment branch name under "Branch name pattern".

For the remainder of the page, complete this according to your organization's policies.

If your policies require restricting who can push to matching branches, you must include the saltoio user for Salto to function correctly.

Did this answer your question?