Skip to content

Commit 7b3af02

Browse files
authored
upgrade and improve dependency review (#2643)
1 parent 5332243 commit 7b3af02

1 file changed

Lines changed: 6 additions & 9 deletions

File tree

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,19 @@
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
71
name: 'Dependency Review'
82
on: [pull_request]
93

104
permissions:
115
contents: read
6+
pull-requests: write
127

138
jobs:
149
dependency-review:
1510
runs-on: ubuntu-latest
1611
steps:
1712
- name: 'Checkout Repository'
18-
uses: actions/checkout@v3
13+
uses: actions/checkout@v5
1914
- name: 'Dependency Review'
20-
uses: actions/dependency-review-action@v2
15+
uses: actions/dependency-review-action@v4
2116
with:
22-
fail-on-severity: critical
17+
comment-summary-in-pr: on-failure
18+
fail-on-severity: moderate
19+
license-check: false

0 commit comments

Comments
 (0)