diff --git a/.github/workflows/scan.yml b/.github/workflows/scan.yml index d2ff6ac1..a0a76fb8 100644 --- a/.github/workflows/scan.yml +++ b/.github/workflows/scan.yml @@ -29,7 +29,7 @@ jobs: format: "sarif" output: "trivy-results.sarif" severity: "CRITICAL,HIGH" - exit-code: "1" # Fail the build! + exit-code: "2" # Fail the build! # Upload SARIF results to GitHub Security tab - name: Upload Trivy scan results to GitHub Security tab