Commit 4b6858d3 authored by Suzanne Selhorn's avatar Suzanne Selhorn

Merge branch 'docs-ci-wildcard-example' into 'master'

Add wildcard to CI example

See merge request gitlab-org/gitlab!73446
parents 9dcb3d2c e1c29ec7
...@@ -1652,10 +1652,12 @@ docker build: ...@@ -1652,10 +1652,12 @@ docker build:
- docker/scripts/* - docker/scripts/*
- dockerfiles/**/* - dockerfiles/**/*
- more_scripts/*.{rb,py,sh} - more_scripts/*.{rb,py,sh}
- "**/*.json"
``` ```
**Additional details**: **Additional details**:
- If any of the matching files are changed (an `OR` operation), `changes` resolves to `true`.
- If you use refs other than `branches`, `external_pull_requests`, or `merge_requests`, - If you use refs other than `branches`, `external_pull_requests`, or `merge_requests`,
`changes` can't determine if a given file is new or old and always returns `true`. `changes` can't determine if a given file is new or old and always returns `true`.
- If you use `only: changes` with other refs, jobs ignore the changes and always run. - If you use `only: changes` with other refs, jobs ignore the changes and always run.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment