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

Azure DevOps allows control of Branch and Merge protection at both the Project level and the Repository level.

Project Level Branch and Merge Protection

To ensure Salto can perform correctly on protected branches, navigate to Project Settings -> Repositories and click on the Security tab. Choose the group that contains your Salto users and change Bypass policies when pushing to Allow.

To set policies for project repositories, change to the 'Policies' tab and click the plus sign in the 'Branch Policies' section. Choose the 'Protect current and future branches matching a specified pattern' radio button and type in the your Salto environment branch name.

Repository Level Branch and Merge Protection

To ensure Salto can perform correctly on protected branches, navigate to Project Settings - Repositories, select the Salto repository and click on the Security tab. Choose the group that contains your Salto users and change Bypass policies when pushing to Allow.

Find the environment branch you would like to protect under the repository branches hierarchy, click on it and select the items that conform to your organization's policies.

Did this answer your question?