From 9d1422cbdfe034ee02d87591b2ddcab4614c26e0 Mon Sep 17 00:00:00 2001 From: Oscar Krause Date: Fri, 24 Mar 2023 10:00:25 +0100 Subject: [PATCH] secret detection --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e115cce..843e12f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -219,6 +219,8 @@ secret_detection: - if: $SECRET_DETECTION_DISABLED when: never - if: $CI_PIPELINE_SOURCE == "merge_request_event" + before_script: + - git config --global --add safe.directory $CI_PROJECT_DIR semgrep-sast: rules: