Loading .gitlab/gitleaks.yaml 0 → 100644 +18 −0 Original line number Diff line number Diff line --- # gitleaks gitleaks: stage: "gitleaks" image: name: "ghcr.io/gitleaks/gitleaks:latest" variables: GIT_DEPTH: 1 rules: # run only on push to default branch - if: '$CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH' - when: "never" # start linting script: - "gitleaks detect --source . --verbose --redact" Loading
.gitlab/gitleaks.yaml 0 → 100644 +18 −0 Original line number Diff line number Diff line --- # gitleaks gitleaks: stage: "gitleaks" image: name: "ghcr.io/gitleaks/gitleaks:latest" variables: GIT_DEPTH: 1 rules: # run only on push to default branch - if: '$CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH' - when: "never" # start linting script: - "gitleaks detect --source . --verbose --redact"