Skip to content

Add free tier

Add free tier #109

Workflow file for this run

name: Secret scan
on:
push:
pull_request:
jobs:
gitleaks:
runs-on: ubuntu-latest
# Skip on PRs from forks: GITLEAKS_LICENSE is not exposed to fork PRs,
# so gitleaks-action fails. Fork contributions still get scanned on push to main.
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository
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 }}