Loading .gitlab-ci.yml +3 −7 Original line number Diff line number Diff line --- # gitLab ci stages # gitlab stages stages: - "gitleaks" - "linting" # include jobs # include components include: # code plumbing - local: ".gitlab/gitleaks.yaml" # linting - component: "$CI_SERVER_FQDN/components/ansible/linting@v3.0.3" - component: "$CI_SERVER_FQDN/components/gitleaks/gitleaks@v1.0.0" - component: "$CI_SERVER_FQDN/components/markdownlint/markdownlint@1.0.0" - component: "$CI_SERVER_FQDN/components/yamllint/yamllint@1.0.2" .gitlab/gitleaks.yamldeleted 100644 → 0 +0 −18 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-ci.yml +3 −7 Original line number Diff line number Diff line --- # gitLab ci stages # gitlab stages stages: - "gitleaks" - "linting" # include jobs # include components include: # code plumbing - local: ".gitlab/gitleaks.yaml" # linting - component: "$CI_SERVER_FQDN/components/ansible/linting@v3.0.3" - component: "$CI_SERVER_FQDN/components/gitleaks/gitleaks@v1.0.0" - component: "$CI_SERVER_FQDN/components/markdownlint/markdownlint@1.0.0" - component: "$CI_SERVER_FQDN/components/yamllint/yamllint@1.0.2"
.gitlab/gitleaks.yamldeleted 100644 → 0 +0 −18 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"