Skip to content

gitleaks

gitleaks #81

Workflow file for this run

name: gitleaks
on:
push:
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
scan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Run gitleaks
uses: gitleaks/gitleaks-action@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE }}
with:
args: detect --source . --redact --config gitleaks.toml --report-format sarif --report-path gitleaks.sarif