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
No related branches found
No related tags found
No related merge requests found
...@@ -209,6 +209,7 @@ gitleaks: ...@@ -209,6 +209,7 @@ gitleaks:
- install_ca_certs "${CUSTOM_CA_CERTS:-$DEFAULT_CA_CERTS}" - install_ca_certs "${CUSTOM_CA_CERTS:-$DEFAULT_CA_CERTS}"
- mkdir -p ./gitleaks - mkdir -p ./gitleaks
- install_gitleaks_rules - install_gitleaks_rules
- git config --global --add safe.directory "${CI_PROJECT_DIR}"
script: script:
- gitleaks detect ${TRACE+--log-level debug} --source . $gitleaks_rule_opts --report-path ./gitleaks/gitleaks-report.json $GITLEAKS_ARGS - gitleaks detect ${TRACE+--log-level debug} --source . $gitleaks_rule_opts --report-path ./gitleaks/gitleaks-report.json $GITLEAKS_ARGS
artifacts: artifacts:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment