fix: run gitleaks via container instead of broken binary download
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -23,9 +23,10 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- run: |
|
- run: |
|
||||||
curl -sSfL https://github.com/gitleaks/gitleaks/releases/latest/download/gitleaks_8.24.0_linux_x64.tar.gz \
|
docker run --rm \
|
||||||
| tar xz -C /usr/local/bin gitleaks
|
-v "$PWD:/scan:ro" \
|
||||||
- run: gitleaks detect --source . -v
|
ghcr.io/gitleaks/gitleaks:latest \
|
||||||
|
detect --source /scan -v
|
||||||
|
|
||||||
build:
|
build:
|
||||||
needs: [test, secrets]
|
needs: [test, secrets]
|
||||||
|
|||||||
Reference in New Issue
Block a user