[DO-110] created groovy linter action

This commit is contained in:
Yaroslav Bondarenko
2024-04-23 11:19:28 +03:00
parent 5e33f1f090
commit 9752629eaf
6 changed files with 194 additions and 1 deletions

14
entrypoint.sh Executable file
View File

@@ -0,0 +1,14 @@
#!/bin/sh -l
# Copyright Avroid, Ltd. 2023-2024
#
# You can not use the contents of the file in any way without
# AVROID, Ltd. written permission.
#
# To obtain such a permit, you should contact AVROID, Ltd.
# at https://avroid.ru
echo "Triggering event: '$GITHUB_EVENT_NAME'"
echo "Linting changed groovy files:"
echo "====================================="
echo /usr/local/bin/npm-groovy-lint "$INPUT_INPUT_FLAGS" "$INPUT_INPUT_FILES" | sh