From 1826d66d3c4a7ed022904a92bf5111b380f92fe6 Mon Sep 17 00:00:00 2001 From: Fabio Pitino Date: Thu, 9 Nov 2023 09:29:51 +0000 Subject: [PATCH] Run secret_detection job on tag pipeline --- .gitlab-ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 125435a..937516f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,6 +3,11 @@ include: stages: [test, release] +secret_detection: + rules: + - if: $CI_COMMIT_BRANCH + - if: $CI_COMMIT_TAG # overriding rules to ensure it runs on tags before the release. + ensure-job-added: stage: test image: badouralix/curl-jq