Refactor code analysis workflow by adding gitleaks detection command and removing obsolete output files to streamline the build process and enhance security checks.

This commit is contained in:
Torsten Schulz (local)
2025-12-20 15:29:58 +01:00
parent 567c4c5661
commit a64863421a
122 changed files with 6 additions and 22791 deletions

View File

@@ -69,5 +69,7 @@ jobs:
exit 1
fi
chmod +x gitleaks
./gitleaks detect --source . --no-git --redact --exit-code 1
# Remove build artifacts before scanning
rm -rf .next .output .nuxt 2>/dev/null || true
./gitleaks detect --source . --no-git --verbose --exit-code 1
rm -f gitleaks.tar.gz