Skip to content

Commit

Permalink
ci: Add secret detection
Browse files Browse the repository at this point in the history
  • Loading branch information
JanEbbing committed Jul 25, 2023
1 parent 0346eb0 commit 6d13a2e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ include:
- project: '${CI_PROJECT_NAMESPACE}/ci-libs-for-client-libraries'
file:
- '/${CI_PROJECT_NAME}/.gitlab-ci.yml'
- project: 'deepl/ops/ci-cd-infrastructure/gitlab-ci-lib'
file:
- '/templates/.secret-detection.yml'

# Global --------------------------

Expand Down Expand Up @@ -43,6 +46,15 @@ license_check_manual:
rules:
- if: $CI_PIPELINE_SOURCE != "schedule"

secret_detection:
extends: .secret-detection
stage: check
image: !reference [.secret-detection, image]
before_script:
- echo "overriding default before_script..."
rules:
- if: $CI_MERGE_REQUEST_ID

# stage: build ----------------------

build:
Expand Down

0 comments on commit 6d13a2e

Please sign in to comment.