Skip to content

feat!: v2

feat!: v2 #3880

Workflow file for this run

name: gitleaks
on:
push:
branches: ['main']
tags: ['v*']
pull_request:
permissions:
contents: read
jobs:
gitleaks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v3
with:
fetch-depth: 0
- uses: gitleaks/gitleaks-action@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE}}
if: ${{ env.GITLEAKS_LICENSE != '' }}