This commit is contained in:
Jayesh Betala 2026-07-14 19:16:21 -07:00 committed by GitHub
commit c827f01fe9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 19 additions and 0 deletions

19
.github/workflows/dependency-review.yml vendored Normal file
View File

@ -0,0 +1,19 @@
name: Dependency Review
# Blocks pull requests that introduce dependencies with known vulnerabilities.
# Uses GitHub's Dependency Graph to diff base...head, so it only runs on PRs.
on: [pull_request]
permissions:
contents: read
jobs:
dependency-review:
runs-on: ubicloud-standard-8
steps:
- uses: actions/checkout@v4
- name: Dependency Review
uses: actions/dependency-review-action@v4
with:
# Fail the check when a PR adds a dependency with a high or critical
# advisory. Lower the threshold to `moderate`/`low` to tighten.
fail-on-severity: high