diff --git a/.github/workflows/license-scan.yml b/.github/workflows/license-scan.yml index 888c2da29..07c257070 100644 --- a/.github/workflows/license-scan.yml +++ b/.github/workflows/license-scan.yml @@ -5,7 +5,7 @@ on: workflow_dispatch: jobs: - verify: + license-scan: runs-on: ubuntu-latest steps: @@ -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 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 + run: mvn install -DskipTests 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 a7e98dcc9..25b07c28b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,7 +9,7 @@ on: required: true jobs: - verify: + release: runs-on: ubuntu-latest services: @@ -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 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 + run: mvn install -DskipTests 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 }} # diff --git a/.github/workflows/trivy-scan.yml b/.github/workflows/trivy-scan.yml index 9557ebd56..d52472cd2 100644 --- a/.github/workflows/trivy-scan.yml +++ b/.github/workflows/trivy-scan.yml @@ -8,7 +8,7 @@ on: - cron: '0 4 * * *' jobs: - scan: + trivy-scan: runs-on: ubuntu-latest permissions: