gitleaks.yml 456 B

123456789101112
  1. name: gitleaks
  2. on: [push, pull_request]
  3. jobs:
  4. gitleaks:
  5. runs-on: ubuntu-latest
  6. steps:
  7. - uses: actions/checkout@v4
  8. with: { fetch-depth: 0 }
  9. - name: Instalar gitleaks
  10. run: curl -sL https://github.com/gitleaks/gitleaks/releases/download/v8.30.1/gitleaks_8.30.1_linux_x64.tar.gz | sudo tar xz -C /usr/local/bin gitleaks
  11. - name: Escanear secretos en todo el historial
  12. run: gitleaks git . --redact --no-banner