ci: add {base,head}-ref to dep review check (#7064)

Signed-off-by: Mohammed Al Sahaf <msaa1990@gmail.com>
This commit is contained in:
Mohammed Al Sahaf
2025-06-13 08:13:17 +03:00
committed by GitHub
parent 7a33f481f1
commit 1a0f168b6e

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 }}