Refactor code analysis workflow by adding gitleaks detection command and removing obsolete output files to streamline the build process and enhance security checks.
Some checks failed
Code Analysis (JS/Vue) / analyze (push) Failing after 3m34s
Some checks failed
Code Analysis (JS/Vue) / analyze (push) Failing after 3m34s
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user