mirror of
https://github.com/garrytan/gstack.git
synced 2026-09-17 10:25:33 +02:00
ci: add dependency-review-action to scan PR dependency changes
Fails PRs that introduce dependencies with known high/critical vulnerabilities; posts a summary comment on failure. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
7c9df1c568
commit
dae910e5d9
@@ -0,0 +1,19 @@
|
|||||||
|
name: Dependency Review
|
||||||
|
|
||||||
|
on: pull_request
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
dependency-review:
|
||||||
|
runs-on: ubicloud-standard-8
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
pull-requests: write
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: actions/dependency-review-action@v4
|
||||||
|
with:
|
||||||
|
fail-on-severity: high
|
||||||
|
comment-summary-in-pr: on-failure
|
||||||
Reference in New Issue
Block a user