Note: This is a duplicate of https://github.com/buildkite/feedback/issues/482.
Right now, you offer the ability to filter the triggering of builds based on the source branch of a pull request.
Functionality that I would love is to have the ability to filter based on target branch as well.
Here is my use case.
I’m using Buildkite as a replacement for Travis. I have two long-lived release branches in a single repo:
legacy . Pull Requests are actively being opened against both branches, but they have entirely different pipeline requirements and are developed by separate teams.
I want to create two pipelines, one for each release branch. I want to be able to send post commit statuses from the correct pipeline to the appropriate PR.
What I would love is if I had the ability to natively filter when a Pull Request event triggered a build not only on the source branch (
/features/*) but the target branch (