Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Merge check default branch

Brent Ryan June 14, 2021

How do I enforce a merge check across all of bitbucket data center deployment that says you need at least 1 approval before merging a PR to the default branch?

 

It's easy to do if you wanted to hard code this to "master" but how do you make this work if others have a different default branch?

 

mergeRequest.pullRequest.toRef.displayId == "master"

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events