gitleaks.yml 376 B

1234567891011121314
  1. name: gitleaks
  2. on: [pull_request, push, workflow_dispatch]
  3. jobs:
  4. scan:
  5. name: gitleaks
  6. runs-on: ubuntu-latest
  7. steps:
  8. - uses: actions/checkout@v3
  9. with:
  10. fetch-depth: 0
  11. - uses: zricethezav/gitleaks-action@v2.0.0
  12. env:
  13. GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  14. GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE}}