Skip to content
Snippets Groups Projects
Commit 3271704f authored by Cédric OLIVIER's avatar Cédric OLIVIER
Browse files

fix: add build dir in safe.directory

parent 31d53f22
Branches
Tags
No related merge requests found
......@@ -209,6 +209,7 @@ gitleaks:
- install_ca_certs "${CUSTOM_CA_CERTS:-$DEFAULT_CA_CERTS}"
- mkdir -p ./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 ./gitleaks/gitleaks-report.json $GITLEAKS_ARGS
artifacts:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment