fix(ci): use official gitleaks action
Replace manual curl binary download with gitleaks/gitleaks-action to resolve CLI flag parsing issues.
This commit is contained in:
parent
1330f04308
commit
5eacabb167
|
|
@ -22,9 +22,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Run Gitleaks Scan
|
- name: Run Gitleaks
|
||||||
run: |
|
uses: gitleaks/gitleaks-action@v2
|
||||||
echo "🔍 Lancement du scan Gitleaks..."
|
env:
|
||||||
curl -sSFL https://github.com/gitleaks/gitleaks/releases/download/v8.18.2/gitleaks_8.18.2_linux_x64.tar.gz | tar -xz gitleaks
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
./gitleaks detect --source . -v
|
|
||||||
rm gitleaks
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue