Allow builds to be triggered on certain specified branches only and all PRs.
This is partially available in “Advanced Settings” under the “Only build pull requests” section but it only covers the default branch and PRs - my request is to extend this to more branches specified by the developer.
So my present flow involves the following branching strategy:
develop (default branch)
feature (will become PRs)
I want any commits made to
master to trigger a build however
feature branches should only result in builds once a PR is created.
At the moment I need to allow building on all branches to be triggered by commits so that I can support my branching strategy, this results in unnecessary builds (on the feature branches which have been pushed to the repo but are not yet ready for PR) which eats up the minutes available on my OS X plan.