Skip to content

security: add gitleaks scanning + 2026-04-18 delta review #5

security: add gitleaks scanning + 2026-04-18 delta review

security: add gitleaks scanning + 2026-04-18 delta review #5

Workflow file for this run

name: Secret Scan
on:
push:
branches: [dev, main, master]
pull_request:
branches: [dev, main, master]
permissions:
contents: read
jobs:
gitleaks:
name: Gitleaks
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0 # Full history — gitleaks needs commits to scan
- name: Run gitleaks
uses: gitleaks/gitleaks-action@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Gitleaks picks up .gitleaks.toml and .gitleaks-baseline.json
# from the repo root automatically.
GITLEAKS_ENABLE_SUMMARY: "true"
GITLEAKS_ENABLE_COMMENTS: "true"