diff --git a/entrypoint.sh b/entrypoint.sh index 12ccc85..b4ca591 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -10,9 +10,13 @@ echo "Processing event '$GITHUB_EVENT_NAME'" echo "List of files with absent license:" echo "===================================" +echo 1 err=0 +echo 2 if [ -n $INPUT_INPUT_FILES ]; then + echo 3 for file in $INPUT_INPUT_FILES; do + echo 4 echo /app/addlicense -check "$1" $file | sh if [ $? -ne 0]; then err=$?