Skip to content

Merge PR #135 from wheval/feat/contract-perf-chaos-cicd #184

Merge PR #135 from wheval/feat/contract-perf-chaos-cicd

Merge PR #135 from wheval/feat/contract-perf-chaos-cicd #184

Workflow file for this run

name: Secret Scan
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
gitleaks:
name: Gitleaks
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
with:
# gitleaks needs full history to scan every commit being pushed/
# in the PR, not just the tip — a secret introduced two commits
# ago and "removed" in a third would otherwise go undetected.
fetch-depth: 0
- name: Run Gitleaks
uses: gitleaks/gitleaks-action@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# .gitleaks.toml at the repo root is picked up automatically.