When we finalize a PR, we rebase and then fast forward merge. When we rebase a PR, bitrise starts building (because we enabled that webhook) and then when we merge, we close the source branch and then bitrise build fails because git clone fails. Is there any way to abort a build when a PR is merged? Or postpone a build after PR is updated?
Another feature we have that could help this situation is set up so you have to manually approve PR builds to run. You can read more about that here: Approving Pull Request builds | Bitrise DevCenter
No, you’d just need to make a call for the Bitrise API If you could find a way to automate that based on merges, that would be the ideal solution, otherwise I’m not sure you could get Bitbucket to send these requests or delay a hook