8

I have many development branches, but I want CircleCI to only care about master.

enter image description here

Is there something I can configure, either in Circle or circle.yml? Alas I can't find anything on the topic in Circle's docs.

Dave Schweisguth
  • 36,475
  • 10
  • 98
  • 121
mikemaccana
  • 110,530
  • 99
  • 389
  • 494

1 Answers1

14

Give CircleCI a list of branches that are the only ones it should auto-build by adding the following to circle.yml:

general:
  branches:
    only:
      - master

Alternatively, if you had a fixed list of branches that you didn't want to build, you could blacklist them with ignore:

general:
  branches:
    ignore:
      - before-rethinkdb
      - rethinkdb

Documentation is here: https://circleci.com/docs/configuration/#branches

Dave Schweisguth
  • 36,475
  • 10
  • 98
  • 121