From 802b6e7584d195b17bf81bb2917878b46f839b02 Mon Sep 17 00:00:00 2001 From: Andrew Kettel Date: Mon, 16 Mar 2026 23:12:01 +0000 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 f2d95c1..2f65049 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