diff options
author | Valery Piashchynski <[email protected]> | 2023-03-01 19:25:18 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2023-03-01 19:25:18 +0100 |
commit | 598e83a60d2a3688a678a07fc80c5608e5e00df9 (patch) | |
tree | 3fd9ed14e2cc43ebc67aac7d6a1a37f82d9cc0e9 /.github | |
parent | 702f6cdf3da9e048946fc8109c8271c35d28699b (diff) |
Create .github/workflows/dependency-review.yml
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/dependency-review.yml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.yml new file mode 100644 index 00000000..fe461b42 --- /dev/null +++ b/.github/workflows/dependency-review.yml @@ -0,0 +1,20 @@ +# 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' +on: [pull_request] + +permissions: + contents: read + +jobs: + dependency-review: + runs-on: ubuntu-latest + steps: + - name: 'Checkout Repository' + uses: actions/checkout@v3 + - name: 'Dependency Review' + uses: actions/dependency-review-action@v2 |