up
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user