18 lines
504 B
YAML
18 lines
504 B
YAML
name: gitleaks
|
|
on:
|
|
push:
|
|
workflow_dispatch:
|
|
jobs:
|
|
scan:
|
|
name: gitleaks
|
|
runs-on: ubuntu-latest
|
|
if: ${{ github.repository == 'gitleaks/gitleaks' }}
|
|
steps:
|
|
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
with:
|
|
fetch-depth: 0
|
|
- uses: gitleaks/gitleaks-action@e0c47f4f8be36e29cdc102c57e68cb5cbf0e8d1e # v3
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE}}
|