|
| 1 | +# Dependency Review Action |
| 2 | +# |
| 3 | +# This Action will scan dependency manifest files that change as part of a Pull Request, |
| 4 | +# surfacing known-vulnerable versions of the packages declared or updated in the PR. |
| 5 | +# Once installed, if the workflow run is marked as required, |
| 6 | +# PRs introducing known-vulnerable packages will be blocked from merging. |
| 7 | +# |
| 8 | +# Source repository: https://github.com/actions/dependency-review-action |
| 9 | +name: 'Dependency Review' |
| 10 | +on: [pull_request] |
| 11 | + |
| 12 | +permissions: |
| 13 | + contents: read |
| 14 | + |
| 15 | +jobs: |
| 16 | + dependency-review: |
| 17 | + runs-on: ubuntu-latest |
| 18 | + steps: |
| 19 | + - name: 'Checkout Repository' |
| 20 | + uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0 |
| 21 | + - name: 'Dependency Review' |
| 22 | + uses: actions/dependency-review-action@595b5aeba73380359d98a5e087f648dbb0edce1b # v4.7.3 |
0 commit comments