Skip to content

Post 0.8.0 fixes

Post 0.8.0 fixes #88

Workflow file for this run

name: Security Scan (Gitleaks)
on:
push:
branches: [ main, master ]
paths:
- '**.go'
- 'go.mod'
- 'go.sum'
- '.github/workflows/**'
pull_request:
branches: [ main, master ]
paths:
- '**.go'
- 'go.mod'
- 'go.sum'
- '.github/workflows/**'
jobs:
gitleaks:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0 # CRITICAL: take all commits history, not the last
- name: Run Gitleaks
uses: gitleaks/gitleaks-action@v3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}