generated from nhcarrigan/template
This commit is contained in:
@@ -67,9 +67,11 @@ jobs:
|
|||||||
sudo chmod +x /usr/local/bin/gitleaks
|
sudo chmod +x /usr/local/bin/gitleaks
|
||||||
gitleaks version
|
gitleaks version
|
||||||
|
|
||||||
|
# We remove the Trivy cache to avoid false positives
|
||||||
- name: Run Gitleaks secret scan
|
- name: Run Gitleaks secret scan
|
||||||
run: |
|
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
|
- name: Display Gitleaks scan results
|
||||||
if: always()
|
if: always()
|
||||||
|
|||||||
Reference in New Issue
Block a user