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:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Run Gitleaks Scan
|
||||
run: |
|
||||
echo "🔍 Lancement du scan Gitleaks..."
|
||||
curl -sSFL https://github.com/gitleaks/gitleaks/releases/download/v8.18.2/gitleaks_8.18.2_linux_x64.tar.gz | tar -xz gitleaks
|
||||
./gitleaks detect --source . -v
|
||||
rm gitleaks
|
||||
- name: Run Gitleaks
|
||||
uses: gitleaks/gitleaks-action@v2
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
|
|
|||
Loading…
Reference in New Issue