chore(ci): enable secret detection
- https://docs.gitlab.com/ee/user/application_security/secret_detection/
This commit is contained in:
parent
134b351521
commit
42a7d26bb0
|
@ -1,11 +1,11 @@
|
||||||
stages:
|
stages:
|
||||||
- deploy_stage
|
- test
|
||||||
- failed_stage
|
- failed_stage
|
||||||
|
|
||||||
image: node:lts-alpine # Use latest LTS version of Node.js on Alpine
|
image: node:lts-alpine # Use latest LTS version of Node.js on Alpine
|
||||||
|
|
||||||
deploy_job:
|
deploy_job:
|
||||||
stage: deploy_stage
|
stage: test
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- 'which ssh-agent || (apk update && apk add git openssh-client)'
|
- 'which ssh-agent || (apk update && apk add git openssh-client)'
|
||||||
|
@ -82,3 +82,6 @@ failed_job:
|
||||||
when: on_failure
|
when: on_failure
|
||||||
- if: '$CI_COMMIT_REF_NAME == "master" && $CI_PIPELINE_SOURCE == "web"'
|
- if: '$CI_COMMIT_REF_NAME == "master" && $CI_PIPELINE_SOURCE == "web"'
|
||||||
when: on_failure
|
when: on_failure
|
||||||
|
|
||||||
|
include:
|
||||||
|
- template: Security/Secret-Detection.gitlab-ci.yml
|
||||||
|
|
Loading…
Reference in New Issue