diff --git a/doc/ci/jobs/job_control.md b/doc/ci/jobs/job_control.md index 734ec4b5193cc4d5b368f9532db27d1bdd6297e5..9efa63e072c2285e99e860bb7b00a3b60c01ae5e 100644 --- a/doc/ci/jobs/job_control.md +++ b/doc/ci/jobs/job_control.md @@ -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