Skip to content

Commit c9d84a6

Browse files
committed
Update Checkov workflow to save output and not fail on issues
1 parent 40c1333 commit c9d84a6

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/terraform-checkov.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,11 @@ jobs:
2121
2222
- name: Run Checkov Terraform scan
2323
run: |
24-
checkov -d . --quiet
24+
checkov -d . --quiet --output junitxml > checkov-report.xml || true
25+
continue-on-error: true
2526

27+
- name: Upload Checkov Scan Report
28+
uses: actions/upload-artifact@v2
29+
with:
30+
name: checkov-report
31+
path: checkov-report.xml

0 commit comments

Comments
 (0)