Skip to main content
All CollectionsChange Management with SaltoIntegrating Git and CI/CDGitLab
Configuring Branch and Merge Protection Rules in GitLab
Configuring Branch and Merge Protection Rules in GitLab
Support avatar
Written by Support
Updated over 2 weeks ago

GitLab treats Branch Protection and Merge Protection as two separate functions.

To protect the branch, navigate to the repository used by Salto, expand Settings on the left, select Repository, and click on the Expand button for "Protected branches."

  1. Set your environment branch name under the 'Branch" section.

  2. To ensure Salto can work properly on the protected branches, choose "Developers + Maintainers" for both the "Allowed to merge" and "Allowed to push and merge" dropdown selectors and click on the Protect button.

To configure Merge protection, navigate to the repository used by Salto, expand Settings on the left, select Merge requests, and configure the merge options that adhere to your organizations settings.

Did this answer your question?