up
This commit is contained in:
@@ -3,9 +3,10 @@ echo "Processing event '$GITHUB_EVENT_NAME'"
|
|||||||
echo "List of files with absent license:"
|
echo "List of files with absent license:"
|
||||||
echo "==================================="
|
echo "==================================="
|
||||||
err=0
|
err=0
|
||||||
INPUT_INPUT_FILES="$(pwd)/Dockerfile $(pwd)/entrypoint.sh"
|
|
||||||
echo $INPUT_INPUT_FILES
|
|
||||||
for file in $INPUT_INPUT_FILES; do
|
for file in $INPUT_INPUT_FILES; do
|
||||||
echo /app/addlicense -check "$1" $file | sh
|
echo /app/addlicense -check "$1" $file | sh
|
||||||
|
if [ $? -ne 0]; then
|
||||||
|
err=$?
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
exit $err
|
exit $err
|
||||||
|
|||||||
Reference in New Issue
Block a user