diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7c095e5..5dc9dc1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -52,12 +52,10 @@ docker: - docker build -t registry.hub.docker.com/echo0821/web-methodology:latest . - docker push registry.hub.docker.com/echo0821/web-methodology:latest - docker rmi registry.hub.docker.com/echo0821/web-methodology -#sast: -# variables: -# SAST_EXCLUDED_PATHS: spec, test, tests, tmp, editormd -# stage: test -# only: -# - master -#include: -#- template: Security/SAST.gitlab-ci.yml -#- template: Security/Secret-Detection.gitlab-ci.yml +sast: + variables: + SAST_EXCLUDED_PATHS: spec, test, tests, tmp, editormd + stage: test +include: +- template: Security/SAST.gitlab-ci.yml +- template: Security/Secret-Detection.gitlab-ci.yml