| 1234567891011121314151617 |
- name: gitleaks
- on:
- push:
- workflow_dispatch:
- jobs:
- scan:
- name: gitleaks
- runs-on: ubuntu-latest
- if: ${{ github.repository == 'gitleaks/gitleaks' }}
- steps:
- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- with:
- fetch-depth: 0
- - uses: gitleaks/gitleaks-action@e0c47f4f8be36e29cdc102c57e68cb5cbf0e8d1e # v3
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE}}
|