diff --git a/.github/workflows/license-scan.yml b/.github/workflows/license-scan.yml index d1cda4358..888c2da29 100644 --- a/.github/workflows/license-scan.yml +++ b/.github/workflows/license-scan.yml @@ -1,4 +1,4 @@ -name: Release +name: License Scan on: # enable running the workflow manually @@ -29,6 +29,6 @@ jobs: - name: Check file license headers run: mvn license:check -Plicense --batch-mode - name: Check dependency licenses with dash tool - run: mvn license-tool:license-check -Plicense -Ddash.iplab.token=${GITLAB_API_TOKEN} --projects '!org.eclipse.hawkbit:hawkbit-repository-test,!org.eclipse.hawkbit:hawkbit-dmf-rabbitmq-test' --batch-mode + run: mvn validate license-tool:license-check -Plicense -Ddash.iplab.token=${GITLAB_API_TOKEN} --projects '!org.eclipse.hawkbit:hawkbit-repository-test,!org.eclipse.hawkbit:hawkbit-dmf-rabbitmq-test' --batch-mode env: GITLAB_API_TOKEN: ${{ secrets.GITLAB_API_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bcc455bf3..a7e98dcc9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -49,7 +49,7 @@ jobs: - name: Check file license headers run: mvn license:check -Plicense --batch-mode - name: Check dependency licenses with dash tool - run: mvn license-tool:license-check -Plicense -Ddash.iplab.token=${GITLAB_API_TOKEN} --projects '!org.eclipse.hawkbit:hawkbit-repository-test,!org.eclipse.hawkbit:hawkbit-dmf-rabbitmq-test' --batch-mode + run: mvn validate license-tool:license-check -Plicense -Ddash.iplab.token=${GITLAB_API_TOKEN} --projects '!org.eclipse.hawkbit:hawkbit-repository-test,!org.eclipse.hawkbit:hawkbit-dmf-rabbitmq-test' --batch-mode env: GITLAB_API_TOKEN: ${{ secrets.GITLAB_API_TOKEN }} #