Running CircleCI on other branches than master and open PRs


#1

Hi,

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


#2

Can you use this syntax to achieve that:

https://circleci.com/docs/1.0/configuration/#branches


#3

Hi,

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,


#4

It should, but I haven’t tested personally.


#5

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


#6

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