Configure Secret Detection in .gitlab-ci.yml, creating this file if it does not already exist

This commit is contained in:
jpd committed 2026-09-22 18:09:35 +01:00
1 parent 38b02832a5
commit 0aecc5a397
1 file changed
+6
+6
View File
@@ -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