gitleaks.yml 310 B

12345678910111213
  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: gitleaks/gitleaks-action@v2
  12. env:
  13. GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}