diff --git a/.github/workflows/license-scan.yml b/.github/workflows/license-scan.yml index a3db2e9ca..b2e102e99 100644 --- a/.github/workflows/license-scan.yml +++ b/.github/workflows/license-scan.yml @@ -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 }} \ No newline at end of file + GITLAB_API_TOKEN: ${{ secrets.GITLAB_API_TOKEN }}