From f854e6f0b5baa090b2e1702f0832f56a00402322 Mon Sep 17 00:00:00 2001 From: Ahmed Hemdan Date: Tue, 4 Jul 2023 20:51:39 +0200 Subject: [PATCH] Apple review feedback --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3210499..9a02d0e 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ include: where `` is the latest released tag or `main`. -If you want to leverage the `$SECRET_DETECTION_DISABLED` variable to run the `secret_detection` job conditionally use `include:rules` with `when: never`. Otherwise the job will run when applicable: +If you are converting the configuration to use components and want to leverage the existing variable `$SECRET_DETECTION_DISABLED` you could conditionally include the component using the variable: ```yaml include: @@ -28,6 +28,8 @@ include: when: never ``` +Otherwise the job will run when applicable. + This assumes `SECRET_DETECTION_DISABLED` variable is already defined in `.gitlab-ci.yml` with either `'true'` or `'1'` as the value: ```yaml