Running CircleCI on other branches than master and open PRs



I would like to run CircleCI (and build) everytime code is pushed to the production branch, but not every branch.

Is there a way to achieve this?

Thanks in advance


Can you use this syntax to achieve that:



Will that work well with the “Only build branches with Open PRs”?

Because I would also like to keep building branches with open PRs (and master which is the default branch), in addition to production.

Thanks in advance,


It should, but I haven’t tested personally.


I tried, it doesn’t work. I guess this is a feature request for the upcoming releases


This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.