From 627d15fe903b1c3b8814a7f48c304bcb55f9abad Mon Sep 17 00:00:00 2001 From: Zachary Hill Date: Thu, 9 Jan 2025 21:17:34 -0500 Subject: [PATCH] continue-on-error to soft_fail (#115) --- .github/workflows/scan.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/scan.yml b/.github/workflows/scan.yml index f8ab0747..9f736ff1 100644 --- a/.github/workflows/scan.yml +++ b/.github/workflows/scan.yml @@ -25,12 +25,13 @@ jobs: - name: Checkov Scan uses: bridgecrewio/checkov-action@v12 with: - # Ensures that the scan will continue even if there are errors - continue-on-error: true # This will add both a CLI output to the console and create a results.sarif file output_format: cli,sarif output_file_path: console,results.sarif + # Ensures that the scan will continue even if there are errors + soft_fail: true + - name: Upload SARIF file uses: github/codeql-action/upload-sarif@v3 # Results are generated only on a success or failure