Skip to content

Commit a3580d6

Browse files
committed
update failure detection
Signed-off-by: Jakub Jarosz <[email protected]>
1 parent 05d88a3 commit a3580d6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/mend.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,4 +148,7 @@ jobs:
148148
retention-days: 7
149149

150150
- name: Final scan result
151-
run: echo ${{ steps.scan.outcome }}
151+
if: ${{ steps.scan.outcome }} == "failure"
152+
run: |
153+
printf "\nMend scan detected problems.\n"
154+
exit 1

0 commit comments

Comments
 (0)