Hi,
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
Pls. advice
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.