Skip to content

fix: gitleaks CI bug #2

fix: gitleaks CI bug

fix: gitleaks CI bug #2

Workflow file for this run

name: Secret Scan
on:
pull_request:
push:
branches:
- main
- master
jobs:
gitleaks:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@v4
with:
# Gitleaks scans git commit ranges on PRs/pushes; shallow clones can
# miss the base commit and cause "unknown revision" failures.
fetch-depth: 0
- name: Run gitleaks
uses: gitleaks/gitleaks-action@v2
with:
# Let the action run its default git-range scan and only pass
# scanner options.
args: --config .gitleaks.toml --redact