diff --git a/.github/workflows/test-generated-project.yml b/.github/workflows/test-generated-project.yml index b013f3cf..e3095372 100644 --- a/.github/workflows/test-generated-project.yml +++ b/.github/workflows/test-generated-project.yml @@ -46,5 +46,5 @@ jobs: run: terraform fmt -recursive -check - name: Run trivy linter - run: trivy fs --severity UNKNOWN,LOW,MEDIUM,HIGH,CRITICAL --scanners vuln,config ./. + run: trivy fs --exit-code 1 --severity CRITICAL . continue-on-error: false