CircleCI Ideas

Allow multiple filters together AND/OR


Made in response to this discuss post: https://discuss.circleci.com/t/circle-2-0-workflow-filters-should-be-logical-and-not-or/18231

These two filters should logically AND meaning both must be true to execute. This currently accepts either as a valid option, a logical OR.

 - deploy_production:
requires:
- build_and_push
filters:
tags:
only: /^v\d+.\d+.\d+$/
branches:
only: /^release$/
  • Avatar32.5fb70cce7410889e661286fd7f1897de Guest
  • Feb 8 2019
  • New
  • Attach files
  • Admin
    Nathan Dintenfass commented
    08 Feb 21:16

    Dupe of https://ideas.circleci.com/ideas/CCI-I-305

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    01 Mar 01:41

    AND is more useful!