+1
In my case I’m restricted to using workflow conditionals due to the requirements for path-filtering. Filters on jobs do not work in this case as path-filtering requires only a single workflow to be triggered.
Sadly I am also struggling to get the matches or equal logical operator working against the pipeline.git.tag despite following examples & testing:
# staging
cicd-staging:
when:
matches: { pattern: '^v1.0.0-.+$', value: << pipeline.git.tag >> }
jobs:
- path-filtering/filter:
name: 'serverless-cicd'
base-revision: master
mapping: |
dir1/.* dir1-modified true
dir2/.* dir2-modified true
config-path: .circleci/serverless-cicd.yml