generated from nhcarrigan/template
This commit is contained in:
@@ -67,9 +67,11 @@ jobs:
|
||||
sudo chmod +x /usr/local/bin/gitleaks
|
||||
gitleaks version
|
||||
|
||||
# We remove the Trivy cache to avoid false positives
|
||||
- name: Run Gitleaks secret scan
|
||||
run: |
|
||||
gitleaks detect --source ./src --report-path gitleaks-results.json --report-format json --no-git
|
||||
rm -rf .cache/trivy
|
||||
gitleaks detect --source . --report-path gitleaks-results.json --report-format json --no-git
|
||||
|
||||
- name: Display Gitleaks scan results
|
||||
if: always()
|
||||
|
||||
Reference in New Issue
Block a user