mirror of
https://gitlab.com/components/secret-detection.git
synced 2025-06-30 07:28:30 +02:00
Apply feedback from initial version review
This commit is contained in:
parent
66e7f4df74
commit
b812ef31b1
1 changed files with 2 additions and 6 deletions
|
@ -9,24 +9,20 @@ spec:
|
||||||
image_suffix:
|
image_suffix:
|
||||||
default: ""
|
default: ""
|
||||||
---
|
---
|
||||||
variables:
|
|
||||||
SECRET_DETECTION_EXCLUDED_PATHS: ""
|
|
||||||
|
|
||||||
.secret-analyzer:
|
secret_detection:
|
||||||
stage: $[[ inputs.stage ]]
|
stage: $[[ inputs.stage ]]
|
||||||
image: "$[[ inputs.image_prefix ]]/secrets:$[[ inputs.image_tag ]]$[[ inputs.image_suffix ]]"
|
image: "$[[ inputs.image_prefix ]]/secrets:$[[ inputs.image_tag ]]$[[ inputs.image_suffix ]]"
|
||||||
services: []
|
services: []
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
variables:
|
variables:
|
||||||
GIT_DEPTH: "50"
|
GIT_DEPTH: "50"
|
||||||
|
SECRET_DETECTION_EXCLUDED_PATHS: ""
|
||||||
# `rules` must be overridden explicitly by each child job
|
# `rules` must be overridden explicitly by each child job
|
||||||
# see https://gitlab.com/gitlab-org/gitlab/-/issues/218444
|
# see https://gitlab.com/gitlab-org/gitlab/-/issues/218444
|
||||||
artifacts:
|
artifacts:
|
||||||
reports:
|
reports:
|
||||||
secret_detection: gl-secret-detection-report.json
|
secret_detection: gl-secret-detection-report.json
|
||||||
|
|
||||||
secret_detection:
|
|
||||||
extends: .secret-analyzer
|
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_BRANCH
|
- if: $CI_COMMIT_BRANCH
|
||||||
script:
|
script:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue