version: 2.1 | |
# this allows you to use CircleCI's dynamic configuration feature | |
setup: true | |
# the path-filtering orb is required to continue a pipeline based on | |
# the path of an updated fileset | |
orbs: | |
path-filtering: circleci/path-filtering@0.1.2 | |
workflows: | |
# the always-run workflow is always triggered, regardless of the pipeline parameters. | |
always-run: | |
jobs: | |
# the path-filtering/filter job determines which pipeline | |
# parameters to update. | |
- path-filtering/filter: | |
name: check-updated-files | |
# 3-column, whitespace-delimited mapping. One mapping per | |
# line: | |
# <regex path-to-test> <parameter-to-set> <value-of-pipeline-parameter> | |
mapping: | | |
README.md lint_only true | |
README_CN.md lint_only true | |
docs/.* lint_only true | |
demo/.* lint_only true | |
tools/webcam/.* lint_only true | |
.dev_scripts/.* lint_only true | |
.github/workflows/.* lint_only true | |
base-revision: master | |
# this is the path of the configuration we should trigger once | |
# path filtering and pipeline parameter value updates are | |
# complete. In this case, we are using the parent dynamic | |
# configuration itself. | |
config-path: .circleci/test.yml | |