fixed entrypoint.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user