Files
umami/.github/workflows/gitleaks.yml
T

28 lines
562 B
YAML

name: Gitleaks
on:
push:
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
scan:
name: Scan for secrets
runs-on: blacksmith-4vcpu-ubuntu-2404
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Run Gitleaks
uses: gitleaks/gitleaks-action@v3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Required for organization-owned repositories.
GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE }}
GITLEAKS_ENABLE_COMMENTS: "false"