Skip to content

Commit b4c67ec

Browse files
authored
chore: Add dependency-review workflow that always targets main (#2645)
### Proposed Changes The `base-ref` for dependency review is typically the target branch you're merging into. This results in dependency-review alerting on any changed dependencies which may have CVE's. By using `orign/main` as our `base-ref`, we are now also validating that the target branch has adopted all necessary security updates that were adopted within the `main` branch. This will help ensure `release` branches have adopted all necessary security fixes. ### Checklist - [ ] I have added or updated unit tests - [ ] I have added or updated integration tests (if appropriate) - [ ] I have added or updated documentation ### Testing Instructions
1 parent 855611d commit b4c67ec

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: 'Main Branch Dependency Review'
2+
on:
3+
pull_request: {}
4+
5+
jobs:
6+
main-dependency-review:
7+
permissions:
8+
contents: read
9+
pull-requests: write
10+
11+
uses: ./.github/workflows/dependency-review.yaml
12+
with:
13+
base-ref: main
14+
fail-on-severity: low

0 commit comments

Comments
 (0)