fixed entrypoint.sh

This commit is contained in:
aleksandr.vodyanov
2024-05-22 12:33:17 +03:00
parent 4f24d3a7a3
commit e3e0e5fa70

View File

@@ -11,6 +11,8 @@
echo "Processing event '$GITHUB_EVENT_NAME'"
echo "List of files with absent license:"
echo "==================================="
err=0
for file in $INPUT_INPUT_FILES; do
echo /app/addlicense -check "$1" $file | sh
{echo /app/addlicense -check "$1" $file || err=1} | sh
done
exit $err