From 42a7d26bb03b0b8d39605ea255a9340550d96f47 Mon Sep 17 00:00:00 2001 From: Ming Di Leom <2809763-curben@users.noreply.gitlab.com> Date: Sun, 20 Jun 2021 00:25:27 +0000 Subject: [PATCH] chore(ci): enable secret detection - https://docs.gitlab.com/ee/user/application_security/secret_detection/ --- .gitlab-ci.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2d90a02..cc27df7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,11 +1,11 @@ stages: - - deploy_stage + - test - failed_stage image: node:lts-alpine # Use latest LTS version of Node.js on Alpine deploy_job: - stage: deploy_stage + stage: test before_script: - 'which ssh-agent || (apk update && apk add git openssh-client)' @@ -82,3 +82,6 @@ failed_job: when: on_failure - if: '$CI_COMMIT_REF_NAME == "master" && $CI_PIPELINE_SOURCE == "web"' when: on_failure + +include: + - template: Security/Secret-Detection.gitlab-ci.yml