gitleaks.yml 430 B

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