Skip to content

Scan for secrets

Scan for secrets #1810

Workflow file for this run

name: Scan for secrets
on:
push:
pull_request:
schedule:
- cron: "49 21 * * *"
workflow_dispatch:
permissions:
contents: read
jobs:
scan:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
fetch-depth: 0 # Fetch all history for all branches and tags
- uses: gitleaks/gitleaks-action@44c470ffc35caa8b1eb3e8012ca53c2f9bea4eb5 # v2.3.6
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Used to comment on PRs
GITLEAKS_VERSION: latest