I have a repository on bitbucket which initiates a build to run on every change I make to the bitbucket UI like adding reviews, changing description etc. I want the build pipeline to only run when I am updating the code after git commit/ git push.
The build is typically triggered using a Bitbucket webhook. You can configure the webhook to trigger using the repo:push or pull request update events. Bitbucket will emit an 'update' event for any of the changes you mentioned. It doesn't provide more granular events out of the box though. You could try to set it to repo:push only and see if fits your needs.
Otherwise, we provide an Bitbucket app, Flowie, that adds support for greater flexibility and control to when the builds are triggered. You can use set it to trigger the PR build only when there are code changes and no conflicts, for instance. Or just trigger integration builds once there is a review. If you are interest get in touch support@flowie.app and we are happy to assist you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.