Circle CI の設定で出来る。
特定のブランチを無視する記述
general:
branches:
ignore:
- gh-pages # list of branches to ignore
- /release\/.*/ # or ignore regexes
特定のブランチのみ反応させる記述
general:
branches:
only:
- master # list of branches to build
- /feature-.*/ # or regexes
ちなみにコミットレベルで Circle CIの反応を防ぎたいときは、コミットメッセージに [ci skip]
か [skip ci]
と入れるとよい。