Try Gitleaks cli version
All checks were successful
OTA Dashboard Test / Explore-Gitea-Actions (push) Successful in 16s

This commit is contained in:
2025-12-26 22:41:20 +01:00
parent 9ce4f056ea
commit e9bcf4ed91

View File

@@ -13,7 +13,12 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: gitleaks/gitleaks-action@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE }}
# - uses: gitleaks/gitleaks-action@v2
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE }}
- name: Run GitLeaks
run: |
wget https://github.com/gitleaks/gitleaks/releases/download/v8.30.0/gitleaks_8.30.0_linux_x64.tar.gz && \
tar -zxvf gitleaks_8.30.0_linux_x64.tar.gz && \
sudo mv gitleaks /usr/local/bin && gitleaks detect --source . --platform -v