From 77b093fdb57d92259900a5fe3550ddb7de6ac58f Mon Sep 17 00:00:00 2001 From: U001JDU Date: Fri, 20 Jun 2025 12:50:42 +0000 Subject: [PATCH] Add/Update Dependency Review Workflow --- .github/workflows/dependency-review.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 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 00000000..f4c64291 --- /dev/null +++ b/.github/workflows/dependency-review.yml @@ -0,0 +1,24 @@ +# SPDX-License-Identifier: MIT +# © 2025 CWT-Dev +# +# Dependency Review Action +# +# This Action will scan dependency manifest files that change as part of a Pull Request, +# surfacing known-vulnerable versions of the packages declared or updated in the PR. +# Once installed, if the workflow run is marked as required, PRs introducing known-vulnerable +# packages will be blocked from merging. +# +# Source repository: https://github.com/actions/dependency-review-action +# Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement +name: 'Dependency review' +permissions: + contents: read + security-events: write + pull-requests: write +on: + pull_request: + branches: [ "develop", "main", "master" ] + +jobs: + call-dependency-review: + uses: cwt-dev/.github/.github/workflows/dependency-review-steps.yml@master