0

As part of a Bitbucket pull-request, I would like to create a merge check (or maybe pre-hook) on the master branch of some of my repos to ensure that the pubspec.yaml files, which have multiple ref: develop lines to be switched back to ref: master when merging back into master. On all other branches I would like it to remain as ref: develop so the merge check or pre hook shouldn't trigger on any of those branches until it's being merged into master.

Any help on this would be appreciated.

jnpowrie
  • 29
  • 5

0 Answers0