Fail license scan (after DEPENDENCIES commit) if there are restricted
This commit is contained in:
4
.github/workflows/license-scan.yml
vendored
4
.github/workflows/license-scan.yml
vendored
@@ -60,5 +60,7 @@ jobs:
|
||||
git status --short
|
||||
exit 1
|
||||
fi
|
||||
# do dash.fail=true so if there are restricted dependencis the build will fail
|
||||
mvn license-tool:license-check -Ddash.fail=true -PcheckLicense -Ddash.iplab.token=${GITLAB_API_TOKEN} --projects '!org.eclipse.hawkbit:hawkbit-repository-test,!org.eclipse.hawkbit:hawkbit-dmf-rabbitmq-test'
|
||||
env:
|
||||
GITLAB_API_TOKEN: ${{ secrets.GITLAB_API_TOKEN }}
|
||||
GITLAB_API_TOKEN: ${{ secrets.GITLAB_API_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user