Try Gitleaks cli version
All checks were successful
OTA Dashboard Test / Explore-Gitea-Actions (push) Successful in 16s
All checks were successful
OTA Dashboard Test / Explore-Gitea-Actions (push) Successful in 16s
This commit is contained in:
@@ -13,7 +13,12 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- uses: gitleaks/gitleaks-action@v2
|
# - uses: gitleaks/gitleaks-action@v2
|
||||||
env:
|
# env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE }}
|
# 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
|
||||||
Reference in New Issue
Block a user