diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 5c0498f..41a8627 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -16,7 +16,7 @@ jobs: - name: Gitleaks Scan run: | curl -sL https://github.com/gitleaks/gitleaks/releases/download/v8.18.2/gitleaks_8.18.2_linux_x64.tar.gz | tar -xz -C /tmp - /tmp/gitleaks detect --source . --verbose --redact --fail-level error + /tmp/gitleaks detect --source . --verbose --redact --exit-code 1 # 2. SCA (Software Composition Analysis) - Verifica vulnerabilidades no Nginx - name: Scan Docker Image Vulnerabilities (Trivy)