From 08d94060ed7b0d9d71d4c4b6bf2501df72cb1174 Mon Sep 17 00:00:00 2001 From: "aleksandr.vodyanov" Date: Wed, 22 May 2024 17:54:09 +0300 Subject: [PATCH] up --- .gitea/workflows/check-license.yml | 2 +- entrypoint.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/check-license.yml b/.gitea/workflows/check-license.yml index 02f8415..8a72d94 100644 --- a/.gitea/workflows/check-license.yml +++ b/.gitea/workflows/check-license.yml @@ -49,7 +49,7 @@ jobs: - name: Check license for changed files id: check_license if: steps.changed-files-specific.outputs.any_changed == 'true' - uses: https://gitea:${{ secrets.CI_TOKEN }}@git.avroid.tech/Actions/addlicense-docker-action.git@v8 + uses: https://gitea:${{ secrets.CI_TOKEN }}@git.avroid.tech/Actions/addlicense-docker-action.git@v9 with: input_files: ${{ steps.changed-files-specific.outputs.all_changed_files }} exclude_pattern: diff --git a/entrypoint.sh b/entrypoint.sh index 6789313..272ddee 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -16,7 +16,7 @@ if [ -n "$INPUT_INPUT_FILES" ]; then for file in $INPUT_INPUT_FILES; do /app/addlicense -check "$1" "$file" if [ $? -ne 0 ]; then - err=$? + err=1 echo $err fi done