From b26a12f733a0fa86e79a91cdf11f056e420e53d2 Mon Sep 17 00:00:00 2001 From: Avgustin Marinov Date: Wed, 24 Sep 2025 11:06:06 +0300 Subject: [PATCH] Remove unnecessary dash call (#2691) Signed-off-by: Avgustin Marinov --- .github/workflows/reusable_workflow_license-scan.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/reusable_workflow_license-scan.yaml b/.github/workflows/reusable_workflow_license-scan.yaml index 9f646ad93..e7ec8c395 100644 --- a/.github/workflows/reusable_workflow_license-scan.yaml +++ b/.github/workflows/reusable_workflow_license-scan.yaml @@ -75,10 +75,8 @@ jobs: exit 1 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=${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) + - name: Check dependency licenses with dash tool (and fail if there are restricted dependencies) 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