Is it possible to have the following build configuration in github without expressing it in the Filter Build Conditional language:
Build all commits on master
Build all commits on production
Build all pull requests
I’m trying to migrate my repo from building all branches to the above configuration. But I don’t want to interrupt my deploys on master and production.
Apart from using Conditional expressions you can use Branch Filter Pattern and GitHub Settings on your pipeline. Make sure you don’t have “Skip pull request builds for existing commits” when you select Build Pull Request
Make sure you don’t have “Skip pull request builds for existing commits” when you select Build Pull Request
With this setting off, if I push 50 commits up, then open a PR, only the tip would get built in Buildkite.
Whereas with the setting on, if I do the same thing, 50 builds get triggered in Buildkite.
@OwenCR If I understand your question correctly. This setting will only work if turned on prior to all these though
So if you have “Skip pull request builds for existing commits” and a for that commit that already started then any other builds on the same commit will be skipped