gitleaks.yml 500 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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
  12. with:
  13. fetch-depth: 0
  14. - uses: gitleaks/gitleaks-action@e0c47f4f8be36e29cdc102c57e68cb5cbf0e8d1e # v3
  15. env:
  16. GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  17. GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE}}