Skip to content

secret-scan

secret-scan #489

Workflow file for this run

name: secret-scan
on:
pull_request:
push:
workflow_dispatch:
schedule:
- cron: "0 13 * * *" # run once a day at 13:00 UTC
jobs:
scan:
name: gitleaks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: gitleaks/gitleaks-action@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE }}
GITLEAKS_NOTIFY_USER_LIST: ${{ vars.GITLEAKS_NOTIFY_USER_LIST }}