Skip to content

Commit

Permalink
adding if
Browse files Browse the repository at this point in the history
  • Loading branch information
abiju-czi committed Jul 3, 2024
1 parent 6a44134 commit f3ce779
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/container-scanning/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@ runs:
shell: bash
run: cat ${{ steps.inspector.outputs.inspector_scan_results_markdown }}
- name: Fail job if vulnerability threshold is exceeded
if: ${{ inputs.fail_on_vulnerabilities }}
if: "contains(inputs.fail_on_vulnerabilities, 'true')"
shell: bash
run: exit ${{ steps.inspector.outputs.vulnerability_threshold_exceeded }}

0 comments on commit f3ce779

Please sign in to comment.