979 B21 lines
Blame
1# Dependency Review Action
2#
3# 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.
4#
5# Source repository: https://github.com/actions/dependency-review-action
6# Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement
7name: 'Dependency Review'
8on: [pull_request]
9
10permissions:
11 contents: read
12
13jobs:
14 dependency-review:
15 runs-on: ubuntu-latest
16 steps:
17 - name: 'Checkout Repository'
18 uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
19 - name: 'Dependency Review'
20 uses: actions/dependency-review-action@3b139cfc5fae8b618d3eae3675e383bb1769c019 # v4.5.0
21