Skip to content

Gitleaks

Gitleaks #114

Workflow file for this run

# https://github.com/gitleaks/gitleaks?tab=readme-ov-file#github-action
name: Gitleaks
on:
push:
pull_request:
workflow_dispatch:
schedule:
- cron: "0 5 * * *" # run once a day at 5 AM
jobs:
scan:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
- uses: gitleaks/gitleaks-action@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE }} # Only required for Organizations, not personal accounts.