up
This commit is contained in:
@@ -49,7 +49,7 @@ jobs:
|
|||||||
- name: Check license for changed files
|
- name: Check license for changed files
|
||||||
id: check_license
|
id: check_license
|
||||||
if: steps.changed-files-specific.outputs.any_changed == 'true'
|
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:
|
with:
|
||||||
input_files: ${{ steps.changed-files-specific.outputs.all_changed_files }}
|
input_files: ${{ steps.changed-files-specific.outputs.all_changed_files }}
|
||||||
exclude_pattern:
|
exclude_pattern:
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ if [ -n "$INPUT_INPUT_FILES" ]; then
|
|||||||
for file in $INPUT_INPUT_FILES; do
|
for file in $INPUT_INPUT_FILES; do
|
||||||
/app/addlicense -check "$1" "$file"
|
/app/addlicense -check "$1" "$file"
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
err=$?
|
err=1
|
||||||
echo $err
|
echo $err
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user