Add gitleaks binary and archive; remove README.md
All checks were successful
Code Analysis (JS/Vue) / analyze (push) Successful in 3m51s

This commit is contained in:
Torsten Schulz (local)
2025-12-20 15:49:21 +01:00
parent e55ca48de8
commit ca204e6ef9
4 changed files with 3 additions and 97 deletions

View File

@@ -34,11 +34,11 @@ jobs:
head -5 gitleaks.tar.gz
exit 1
fi
# Try different extraction methods
# Extract ONLY the gitleaks binary (the archive also contains README etc. which would trigger gitleaks itself)
if tar -tzf gitleaks.tar.gz >/dev/null 2>&1; then
tar -xzf gitleaks.tar.gz
tar -xzf gitleaks.tar.gz gitleaks
elif tar -tf gitleaks.tar.gz >/dev/null 2>&1; then
tar -xf gitleaks.tar.gz
tar -xf gitleaks.tar.gz gitleaks
else
echo "Error: Cannot extract archive. File type:"
file gitleaks.tar.gz