This commit is contained in:
aleksandr.vodyanov
2024-05-22 16:45:23 +03:00
parent f04661f94f
commit ba41b86c3c

View File

@@ -10,13 +10,9 @@
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
if [ -e $INPUT_INPUT_FILES ]; then
export err=0
for file in $INPUT_INPUT_FILES; do
echo 4
echo /app/addlicense -check "$1" $file | sh
if [ $? -ne 0]; then
err=$?