From 844b9ffa1273525b30fb852799b6f011878621f9 Mon Sep 17 00:00:00 2001 From: Sebastian Bezold Date: Fri, 9 Feb 2024 10:09:06 +0100 Subject: [PATCH] chore(ci): add dash workflow for PRs --- .github/workflows/dash.yaml | 44 +++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 .github/workflows/dash.yaml diff --git a/.github/workflows/dash.yaml b/.github/workflows/dash.yaml new file mode 100644 index 000000000000..40569f8950b4 --- /dev/null +++ b/.github/workflows/dash.yaml @@ -0,0 +1,44 @@ +# ############################################################################# +# Copyright (c) 2024 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) distributed with this work for additional +# information regarding copyright ownership. +# +# This program and the accompanying materials are made available under the +# terms of the Apache License, Version 2.0 which is available at +# https://www.apache.org/licenses/LICENSE-2.0. +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. +# +# SPDX-License-Identifier: Apache-2.0 +# ############################################################################# +--- + +name: "3rd Party dependency check (Eclipse Dash)" + +on: + workflow_dispatch: + pull_request: + branches: + - main + +permissions: + contents: write + +jobs: + check-dependencies: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Run dash + id: run-dash + uses: eclipse-tractusx/sig-infra/.github/actions/run-dash@main + with: + dash_input: "package-lock.json" + fail_on_restricted: "true"