From a37d5304fec33b26abf4d6db1aa57eba58ccd21a Mon Sep 17 00:00:00 2001 From: Avgustin Marinov Date: Wed, 24 Sep 2025 10:55:46 +0300 Subject: [PATCH] Fix dash scan (#2690) Signed-off-by: Avgustin Marinov --- .github/workflows/reusable_workflow_license-scan.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/reusable_workflow_license-scan.yaml b/.github/workflows/reusable_workflow_license-scan.yaml index 23f957dff..9f646ad93 100644 --- a/.github/workflows/reusable_workflow_license-scan.yaml +++ b/.github/workflows/reusable_workflow_license-scan.yaml @@ -76,7 +76,9 @@ jobs: fi fi # do dash.fail=true so if there are restricted dependencies the build will fail - mvn license-tool:license-check -Ddash.fail=true -PcheckLicense -Ddash.iplab.token=${{ secrets.GITLAB_API_TOKEN }} --projects '!org.eclipse.hawkbit:hawkbit-repository-test,!org.eclipse.hawkbit:hawkbit-dmf-rabbitmq-test' + 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 }} - name: Check dependency licenses with dash tool (and return the result) run: mvn license-tool:license-check -Ddash.fail=true -PcheckLicense --projects '!org.eclipse.hawkbit:hawkbit-repository-test,!org.eclipse.hawkbit:hawkbit-dmf-rabbitmq-test' \ No newline at end of file