chore(ci): enable secret detection
- https://docs.gitlab.com/ee/user/application_security/secret_detection/
This commit is contained in:
parent
d2eb37e3e1
commit
f1836a9c84
|
@ -1,11 +1,11 @@
|
|||
stages:
|
||||
- build
|
||||
- test
|
||||
- failed_stage
|
||||
|
||||
image: alpine:latest # Use the latest version of Alpine Linux docker image
|
||||
|
||||
build_job:
|
||||
stage: build
|
||||
stage: test
|
||||
|
||||
before_script:
|
||||
- apk update && apk add curl openssh-client git grep xmlstarlet
|
||||
|
@ -77,3 +77,6 @@ failed_job:
|
|||
- if: '$CI_COMMIT_REF_NAME == "main" && ($CI_PIPELINE_SOURCE == "schedule" || $CI_PIPELINE_SOURCE == "web")'
|
||||
# Run this job only when deploy_job failed
|
||||
when: on_failure
|
||||
|
||||
include:
|
||||
- template: Security/Secret-Detection.gitlab-ci.yml
|
||||
|
|
Loading…
Reference in New Issue