From c564636200b2d9f8d276d5463393c7fedeafe34d Mon Sep 17 00:00:00 2001 From: XenGi Date: Mon, 25 May 2026 13:40:12 +0200 Subject: [PATCH] Configure Secret Detection in `.gitlab-ci.yml`, creating this file if it does not already exist --- .gitlab-ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 857bcdf..5178fe4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,7 +7,13 @@ # See https://docs.gitlab.com/ci/variables/#cicd-variable-precedence stages: - test +- secret-detection sast: stage: test include: - template: Security/SAST.gitlab-ci.yml +- template: Security/Secret-Detection.gitlab-ci.yml +variables: + SECRET_DETECTION_ENABLED: 'true' +secret_detection: + stage: secret-detection