Skip to content

Commit 007abf1

Browse files
committed
Change messaging
1 parent 5863e5f commit 007abf1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/check-binaries.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,11 @@ jobs:
3737
id: save-output
3838
run: |
3939
report_csv="$(ls -tr output.cve-bin-*.csv 2>/dev/null | tail -n1)" # last file generated
40-
echo "Vulnerabilities stored in $report_csv"
40+
if [ -z "$report_csv" ]; then
41+
echo "Failure when running check"
42+
else
43+
echo "Vulnerabilities stored in $report_csv"
44+
fi
4145
final_report="${report_csv}.txt"
4246
awk -F',' '{n=split($10, path, "/"); print $2,$3,$4,$5,path[n]}' "$report_csv" | column -t > "$final_report" # make the CSV nicer
4347
echo "report_contents<<EOF" >> "$GITHUB_OUTPUT"

0 commit comments

Comments
 (0)