Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add dash tool job #32

Merged
merged 1 commit into from
Dec 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .github/workflows/licenses-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
#
# SPDX-License-Identifier: Apache-2.0
# SPDX-FileCopyrightText: Huawei Inc.
#
name: license-check

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

jobs:
third-party-license-check:
runs-on: ubuntu-latest
steps:
- name: Set Up JDK 21
uses: actions/setup-java@v4
with:
java-version: 21
distribution: 'temurin'
- name: Checkout
uses: actions/checkout@v4
- name: Download Eclipse Dash Tool Jar
run: wget https://repo.eclipse.org/service/local/repositories/dash-licenses-releases/content/org/eclipse/dash/org.eclipse.dash.licenses/${{ env.DASH_TOOL_VERSION }}/org.eclipse.dash.licenses-${{ env.DASH_TOOL_VERSION }}.jar
- name: Run License Validation
run: java -jar org.eclipse.dash.licenses-${{ env.DASH_TOOL_VERSION }}.jar go.sum
# To be enabled once the initial IP check is completed by EF team.
continue-on-error: true
Loading
Loading