There was an error while loading. Please reload this page.
2 parents fdbf488 + 7b0524c commit f68c406Copy full SHA for f68c406
1 file changed
.github/workflows/dependency-review.yaml
@@ -17,5 +17,9 @@ jobs:
17
- name: 'Dependency Review'
18
uses: actions/dependency-review-action@2031cfc080254a8a887f58cffee85186f0e49e48 #4.9.0
19
with:
20
+ # If it's a PR, use the target branch. If it's a push, use 'main'.
21
+ base-ref: ${{ github.event.pull_request.base.ref || 'main' }}
22
+ # If it's a PR, use the source branch. If it's a push, use the current commit.
23
+ head-ref: ${{ github.event.pull_request.head.ref || github.sha }}
24
fail-on-severity: high
25
show-patched-versions: true
0 commit comments