Skip to content

Commit e47f354

Browse files
committedMar 14, 2023
build: will this work on fork pr's?
With .ref, on a PR from a fork, I got: ``` Run actions/dependency-review-action@v3 with: base-ref: master head-ref: xml_duplicate_fix repo-token: *** fail-on-severity: low fail-on-scopes: runtime Error: Bad Request ```
1 parent dc83ac5 commit e47f354

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎.github/workflows/dependency-review.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ jobs:
2626
- name: 'Dependency Review'
2727
uses: actions/dependency-review-action@v3
2828
with:
29-
base-ref: ${{ github.event.pull_request.base.ref || 'master' }}
30-
head-ref: ${{ github.event.pull_request.head.ref || github.ref }}
29+
base-ref: ${{ github.event.pull_request.base.sha || 'master' }}
30+
head-ref: ${{ github.event.pull_request.head.sha || github.ref }}

0 commit comments

Comments
 (0)
Please sign in to comment.