fix(ci): use free gitleaks docker image
Switch from gitleaks-action to zricethezav/gitleaks docker image to bypass commercial license requirements.
This commit is contained in:
parent
5eacabb167
commit
087aa6f8db
|
|
@ -16,13 +16,14 @@ jobs:
|
||||||
gitleaks-scan:
|
gitleaks-scan:
|
||||||
name: Secret Detection (Gitleaks)
|
name: Secret Detection (Gitleaks)
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
container:
|
||||||
|
image: zricethezav/gitleaks:latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check Out Code
|
- name: Check Out Code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Run Gitleaks
|
- name: Run Gitleaks Scan
|
||||||
uses: gitleaks/gitleaks-action@v2
|
run: |
|
||||||
env:
|
gitleaks detect --source . -v
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue