Skip to content

Commit

Permalink
continue-on-error to soft_fail (#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
zachreborn authored and Jakeasaurus committed Jan 14, 2025
1 parent e34e512 commit 627d15f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 627d15f

Please sign in to comment.