Files
actions-addlicense-docker/entrypoint.sh
aleksandr.vodyanov 0660c5ff1c up
2024-05-22 15:47:35 +03:00

12 lines
326 B
Bash
Executable File

#!/bin/bash
echo "Processing event '$GITHUB_EVENT_NAME'"
echo "List of files with absent license:"
echo "==================================="
err=0
INPUT_INPUT_FILES="$(pwd)/Dockerfile $(pwd)/entrypoint.sh"
echo $INPUT_INPUT_FILES
for file in $INPUT_INPUT_FILES; do
echo /app/addlicense -check "$1" $file | sh
done
exit $err