Skip to content

GHA: add basic Gitleaks GitHub Action #1

GHA: add basic Gitleaks GitHub Action

GHA: add basic Gitleaks GitHub Action #1

Workflow file for this run

name: Check for potential GitLeaks
on:
pull_request:
push:
workflow_dispatch:
jobs:
scan:
name: GitLeaks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: gitleaks/gitleaks-action@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE }}