Commit b0942a23 authored by Cédric OLIVIER's avatar Cédric OLIVIER
Browse files

Merge branch '19-detect-subcommand-is-now-deprecated' into 'master'

Resolve "detect subcommand is now deprecated"

Closes #19

See merge request to-be-continuous/gitleaks!54
parents f1ccce65 9860a4c2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -236,7 +236,7 @@ gitleaks:
    - install_gitleaks_rules
    - git config --global --add safe.directory "${CI_PROJECT_DIR}"
  script:
    - gitleaks detect ${TRACE+--log-level debug} --source . $gitleaks_rule_opts --report-path reports/gitleaks.native.json $GITLEAKS_ARGS
    - gitleaks git ${TRACE+--log-level debug} $gitleaks_rule_opts --report-path reports/gitleaks.native.json $GITLEAKS_ARGS .
  artifacts:
    name: "$CI_JOB_NAME artifacts from $CI_PROJECT_NAME on $CI_COMMIT_REF_SLUG"
    when: always