gitleaks.yml 411 B

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