From c932d2a02b00846ffc95140c0acc01f4b2238c0f Mon Sep 17 00:00:00 2001 From: Christopher Kolstad Date: Thu, 30 May 2024 13:19:22 +0200 Subject: [PATCH] chore: added dependency review (#7206) To help with compliance with customer's OSS requirements, this now bans usage of GPL and LGPL, as well as scans PRs for dependency vulnerabilities and new licenses being added. --- .github/workflows/dependency-review.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/dependency-review.yml diff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.yml new file mode 100644 index 0000000000..af1d561765 --- /dev/null +++ b/.github/workflows/dependency-review.yml @@ -0,0 +1,22 @@ +name: Dependency review + +on: + pull_request: + +permissions: + contents: read + pull-requests: write + +jobs: + license_review: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + - name: Dependency review + uses: actions/dependency-review-action@v4 + with: + fail-on-severity: moderate + # + deny-licenses: GPL-1.0, GPL-2.0, GPL-3.0, LGPL-2.1, LGPL-3.0, MPL-2.0, AGPL-3.0 + comment-summary-in-pr: always