Skip to content

Commit 1805edc

Browse files
maennchensschuberth
authored andcommitted
fix: typo to make fail-on option work correctly
Signed-off-by: Jonatan Männchen <[email protected]>
1 parent 2cda885 commit 1805edc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -625,13 +625,13 @@ runs:
625625
path: ${{ env.ORT_RESULTS_SCANNER_PATH }}
626626
if-no-files-found: warn
627627
- name: Conditionally fail action if returned violations from Evaluator exceeds severity threshold
628-
if: contains(inputs.fail-on, 'violations') && contains(steps.ort-evaluator.output.exit-code, 2)
628+
if: contains(inputs.fail-on, 'violations') && contains(steps.ort-evaluator.outputs.exit-code, 2)
629629
shell: bash
630630
run: |
631631
echo -e "\e[1;31m Failing action as Evaluator exceeded severity threshold... "
632632
exit 2
633633
- name: Conditionally fail action if returned issues from Advisor exceeds severity threshold
634-
if: contains(inputs.fail-on, 'issues') && contains(steps.ort-advisor.output.exit-code, 2)
634+
if: contains(inputs.fail-on, 'issues') && contains(steps.ort-advisor.outputs.exit-code, 2)
635635
shell: bash
636636
run: |
637637
echo -e "\e[1;31m Failing action as Advisor exceeded severity threshold... "

0 commit comments

Comments
 (0)