Skip to content

Commit

Permalink
add report files
Browse files Browse the repository at this point in the history
  • Loading branch information
aldudin committed Apr 16, 2024
1 parent 68ab5a8 commit 09c976a
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -194,9 +194,12 @@ jobs:

- name: Fail build on any alerts
run: |
if grep -q "FAIL-NEW: 0" report_json.json; then
echo "No new alerts found"
else
echo "New alerts found, failing build"
exit 1
fi
cat report_json.json
cat report_html.html
cat report_md.md
# if grep -q "FAIL-NEW: 0" report_json.json; then
# echo "No new alerts found"
# else
# echo "New alerts found, failing build"
# exit 1
# fi

0 comments on commit 09c976a

Please sign in to comment.