Debian Codegraph @

.github/workflows/dependency-review.yml

raw
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
7 name: 'Dependency Review'
8 on: [pull_request]
9
10 permissions:
11 contents: read
12
13 jobs:
14 dependency-review:
15 runs-on: ubuntu-latest
16 steps:
17 - name: 'Checkout Repository'
18 uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
19 with:
20 persist-credentials: false
21 - name: 'Dependency Review'
22 uses: actions/dependency-review-action@3c4e3dcb1aa7874d2c16be7d79418e9b7efd6261 # v4.8.2
23 with:
24 allow-ghsas: GHSA-cx63-2mw6-8hw5