Hi there. I have three branches on my bitbucket repo, master, staging and develop. I only want my workflow to run when a pull request is merged in to my staging branch. Previously bitrise would trigger on pushes to develop, staging, all sorts, which I didn’t want as every little commit would use up one of my monthly builds.
I only have ‘Pull request: merged’ ticked in my bitbucket outgoing webhook. I do this because I only allow commits and pushes to develop; master and staging may only have a pull request merged in from the bitbucket web interface.
The webhook gets called OK but now I get a 400 response from Bitrise, and my build isn’t triggered:
“error”: “Failed to transform the webhook: X-Event-Key is not supported: pullrequest:fulfilled”
I can PM the request body if needed - I won’t paste it here as it has a lot of my app & repo specific details in.