BitBucket combines Branch and Merge protection rules into a single function. Navigate to the repository used by Salto, click on Repository Settings on the left
Then click on Branch restrictions on the left and Add a branch restriction
Set the environment branch name under the 'By branch name or pattern' option.
Under Branch permissions, allow everyone with access to the repository to perform both actions to ensure Salto can work properly on the protected branch.
For Merge settings, select the items that conform to your organization's policies.