diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 537ea96..8479291 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,6 @@ include: - template: Jobs/Code-Quality.gitlab-ci.yml + - template: Jobs/Secret-Detection.gitlab-ci.yml cache: key: one-key-to-rule-them-all @@ -189,6 +190,13 @@ code_quality: - if: $CI_PIPELINE_SOURCE == "merge_request_event" - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH +secret_detection: + rules: + - if: $SECRET_DETECTION_DISABLED + when: never + - if: $CI_PIPELINE_SOURCE == "merge_request_event" + - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH + test_coverage: extends: test allow_failure: true