buildkite / feedback

Got feedback? Please let us know!
https://buildkite.com
25 stars 24 forks source link

[BB] Trigger pipelines only on raising/updating PRs #500

Open harryi3t opened 5 years ago

harryi3t commented 5 years ago

Usecase: I want to be able to trigger buildkite pipelines only when someone raises or updates a PR.

Problem: I am using Bitbucket and added a webhook to trigger my pipeline on buildkite. When I set the triggers Pull Request -> Created/Updated, it does not work. Only when I set the trigger Repository -> Push it works, but the problem with this is that the pipeline will be triggered as soon as someone created a new branch with some commits but haven't raised a PR yet. Doesn't look like a Bitbucket issue since they are sending the webhook correctly (It is shown in the webhook history and received 200 response from buildkite)

new_issue_ _buildkite_feedback