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:
|
||||
name: Secret Detection (Gitleaks)
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: zricethezav/gitleaks:latest
|
||||
steps:
|
||||
- name: Check Out Code
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Run Gitleaks
|
||||
uses: gitleaks/gitleaks-action@v2
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Run Gitleaks Scan
|
||||
run: |
|
||||
gitleaks detect --source . -v
|
||||
|
|
|
|||
Loading…
Reference in New Issue