We have a new project in BB
I want to know if there's a way to block the creation of PR (from BB console or from the IDE) until the user pull/rebase from the master branch to his local/remote branch
I'm facing this in the current project & at the merging phase I getting blockers that add more work to my day-to-day
You could, there is a cancelable event in BB server
However, suppose you did, what happens the first time another PR is merged to master or master changes otherwise? All PRs would need to be rebased again.
This is a common flow on git and PR process is intended to support this natural pattern. Generally I would advise more frequent integrations if your getting big blockers (smaller batches reduces merge effort). But also use automated builds that run on a PR to always rebase in from your main branch before testing.
That way as soon as anyone opens a PR without rebase it will test including the merge, and you know once you accept PR it will merge successfully, because it already has.
Hi, Bitbucket community! Are you a DevOps practitioner (or know one in your network)? Do you have DevOps tips, tricks, or learnings you'd like to share with the community? If so, we'd love to hea...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events