From ee41ab50e19fd70214504cb371632fe26d07f48c Mon Sep 17 00:00:00 2001 From: Naomi Carrigan Date: Thu, 11 Dec 2025 15:39:25 -0800 Subject: [PATCH] feat: try removing cache --- .gitea/workflows/security.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/security.yml b/.gitea/workflows/security.yml index fbf70d8..f4678a9 100644 --- a/.gitea/workflows/security.yml +++ b/.gitea/workflows/security.yml @@ -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()