Commit 6fd58893 authored by FulcrandG's avatar FulcrandG
Browse files

Adding gitleaks job

parent 89428892
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -23,6 +23,6 @@ repos. As it written in go, it is much faster than most of the

* Job name: `gitleaks`
* Docker image:
[`python:3.6-stretch`](https://hub.docker.com/r/_/python)
[`zricethezav/gitleaks:v6.1.2`](https://hub.docker.com/r/_/zricethezav/gitleaks)
* Default stage: `static_tests`
* When: `always`
+1 −3
Original line number Diff line number Diff line
@@ -4,10 +4,8 @@ stages:
# From https://github.com/pmarlow/ci_secrets/blob/master/example.gitlab-ci.yml

gitleaks:
  image: python:3.6-stretch
  image: zricethezav/gitleaks:v6.1.2
  stage: static_tests
  before_script:
    - pip install ci_secrets
  script:
    - if [ ! -z ${CI_MERGE_REQUEST_ID} ]; then
    -   ci_secrets --since origin/$CI_MERGE_REQUEST_TARGET_BRANCH_NAME --log INFO