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"