Skip to content

Commit 2c90475

Browse files
Updating logging message based on feedback
1 parent 17a18c1 commit 2c90475

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/validate-manifest.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ jobs:
1818
echo "Validating manifest files"
1919
for item in $(jq -c -r '.lists.[].file | select( . != null )' manifest.json); do
2020
if test -f $item; then
21-
echo "$item exists"
21+
echo "$item file is listed in the manifest, and exists in the repository"
2222
else
23-
echo "::error file=manifest.json,title=Invalid-Manifest::$item does not exist"
23+
echo "::error file=manifest.json,title=Invalid-Manifest::$item file is listed in the manifest, but the file does not exist"
2424
exit 1
2525
fi
2626
done
@@ -29,7 +29,7 @@ jobs:
2929
for item in $(jq -c -r '.lists.[].url | select( . != null )' manifest.json); do
3030
urlstatus=$(curl -H 'Cache-Control: no-cache' -o /dev/null --silent --head --write-out "$URL %{http_code}" "$item")
3131
if [ $urlstatus -ne 200 ]; then
32-
echo "::error file=manifest.json,title=Invalid-Manifest::$item has HTTP status of $urlstatus"
32+
echo "::error file=manifest.json,title=Invalid-Manifest::$item URL is listed in the manifest, but the received HTTP status of $urlstatus"
3333
exit 1
3434
fi
3535
done

0 commit comments

Comments
 (0)