ci: install versioned trivy+gitleak
This commit is contained in:
@@ -23,6 +23,10 @@ jobs:
|
||||
|
||||
- name: Install Gitleaks
|
||||
run: |
|
||||
if command -v gitleaks >/dev/null 2>&1; then
|
||||
echo "gitleaks already installed: $(gitleaks version)"
|
||||
exit 0
|
||||
fi
|
||||
curl -sSfL \
|
||||
"https://github.com/gitleaks/gitleaks/releases/download/v${GITLEAKS_VERSION}/gitleaks_${GITLEAKS_VERSION}_linux_x64.tar.gz" \
|
||||
| tar xz gitleaks
|
||||
|
||||
Reference in New Issue
Block a user