ci: add `{base,head}-ref` to dep review check

Signed-off-by: Mohammed Al Sahaf <msaa1990@gmail.com>
pull/7064/head
Mohammed Al Sahaf 2025-06-13 03:16:04 +03:00
parent 7a33f481f1
commit b035bd967e
No known key found for this signature in database
1 changed files with 3 additions and 0 deletions

View File

@ -85,3 +85,6 @@ jobs:
uses: actions/dependency-review-action@v4
with:
comment-summary-in-pr: on-failure
# https://github.com/actions/dependency-review-action/issues/430#issuecomment-1468975566
base-ref: ${{ github.event.pull_request.base.sha || 'master' }}
head-ref: ${{ github.event.pull_request.head.sha || github.ref }}