This commit is contained in:
aleksandr.vodyanov
2024-05-22 16:41:05 +03:00
parent 5ed342ef13
commit 0570e7a03c

View File

@@ -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=$?