diff --git a/.github/workflows/licensecheck.yml b/.github/workflows/licensecheck.yml new file mode 100644 index 0000000000..8badbdf3e3 --- /dev/null +++ b/.github/workflows/licensecheck.yml @@ -0,0 +1,37 @@ +############################################################################### +# Copyright (c) 2023, 2026 Contributors to Eclipse Foundation +# +# This program and the accompanying materials are made available under the +# terms of the Eclipse Public License 2.0 which is available at +# https://www.eclipse.org/legal/epl-2.0/. +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# see git history +############################################################################### +# This workflow will check for Maven projects if the licenses of all (transitive) dependencies are vetted. + +name: License vetting status check + +on: + push: + branches: + - 'main' + pull_request: + branches: + - 'main' + issue_comment: + types: [created] + +permissions: + pull-requests: write + +jobs: + call-license-check: + uses: eclipse-dash/dash-licenses/.github/workflows/mavenLicenseCheck.yml@c1e285d67462be242b1b1ecfb1ad51e70271d5d9 #master + with: + projectId: iot.milo + javaVersion: 17 + secrets: + gitlabAPIToken: ${{ secrets.GITLAB_API_TOKEN }}