Skip to content

Commit 7c23782

Browse files
committed
[build] Add dependency review action to CI workflow
Integrates dependency-review-action@v5 into the existing build job to automatically review dependencies on pull requests for: - Vulnerabilities at moderate severity or higher - Both runtime and development scopes - Posts summary comments on PR failures License checking is disabled to avoid blocking on diverse license types in the dependency tree. Signed-off-by: Victor Rubezhny <vrubezhny@redhat.com> Assisted-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 88121ab commit 7c23782

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/continuous-integration-workflow.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
permissions:
2525
contents: read
2626
actions: write
27+
pull-requests: write
2728

2829
strategy:
2930
fail-fast: false
@@ -44,6 +45,15 @@ jobs:
4445
with:
4546
node-version: ${{ matrix.node }}
4647

48+
- name: Dependency Review
49+
if: github.event_name == 'pull_request' && runner.os == 'Linux'
50+
uses: actions/dependency-review-action@v5
51+
with:
52+
fail-on-severity: moderate
53+
fail-on-scopes: runtime, development
54+
comment-summary-in-pr: on-failure
55+
license-check: false
56+
4757
# Run install dependencies
4858
- name: Install dependencies
4959
run: npm ci

0 commit comments

Comments
 (0)