gitleaks.yml 414 B

1234567891011121314151617
  1. name: gitleaks
  2. on:
  3. push:
  4. workflow_dispatch:
  5. jobs:
  6. scan:
  7. name: gitleaks
  8. runs-on: ubuntu-latest
  9. if: ${{ github.repository == 'gitleaks/gitleaks' }}
  10. steps:
  11. - uses: actions/checkout@v3
  12. with:
  13. fetch-depth: 0
  14. - uses: gitleaks/gitleaks-action@v2
  15. env:
  16. GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  17. GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE}}