| 123456789101112 |
- name: gitleaks
- on: [push, pull_request]
- jobs:
- gitleaks:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v4
- with: { fetch-depth: 0 }
- - name: Instalar gitleaks
- 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
- - name: Escanear secretos en todo el historial
- run: gitleaks git . --redact --no-banner
|