Skip to content

chore: update example #57

chore: update example

chore: update example #57

Workflow file for this run

name: Secret Scan
on:
push:
branches: [ "**" ]
pull_request:
branches: [ "**" ]
workflow_dispatch:
permissions:
contents: read
security-events: write
jobs:
gitleaks:
name: Gitleaks Scan
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Run gitleaks
id: gitleaks
uses: gitleaks/gitleaks-action@v2
with:
config-path: .gitleaks.toml
args: --report-format sarif --report-path gitleaks.sarif
- name: Upload SARIF to code scanning
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: gitleaks.sarif