This commit is contained in:
aleksandr.vodyanov
2024-05-22 17:54:09 +03:00
parent 75c1add22e
commit 08d94060ed
2 changed files with 2 additions and 2 deletions

View File

@@ -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:

View File

@@ -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