Skip to content

Commit

Permalink
integrate eclipse dash-licenses tool
Browse files Browse the repository at this point in the history
  • Loading branch information
swaroopar committed Dec 14, 2023
1 parent 9c90d85 commit f8b2d37
Show file tree
Hide file tree
Showing 4 changed files with 324 additions and 4 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/license-checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#
# SPDX-License-Identifier: Apache-2.0
# SPDX-FileCopyrightText: Huawei Inc.
#
name: xpanse-license-check

# Run this workflow every time a new commit push to the repository
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
third-party-license-check:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set Up JDK 21
uses: actions/setup-java@v4
with:
java-version: 21
distribution: 'temurin'
- name: Check 3rd Party Licenses
run: mvn license-tool:license-check -Plicense-check

0 comments on commit f8b2d37

Please sign in to comment.