Commit 56455512 authored by Marcel Amirault's avatar Marcel Amirault

Merge branch 'master' into 'master'

Make the or-grouping of `only:variables` explicit in the doc

See merge request gitlab-org/gitlab!63281
parents abba751e 1cd14fd9
......@@ -85,6 +85,9 @@ job1:
- ($CI_COMMIT_BRANCH == "main" || $CI_COMMIT_BRANCH == "develop") && $MY_VARIABLE
```
When multiple entries are specified in `only:variables`, the job runs when at least one of them evaluates to `true`.
You can use `&&` in a single entry when multiple conditions must be satisfied at the same time.
### `only:changes` / `except:changes` examples
You can skip a job if a change is detected in any file with a
......
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