From b035bd967e4aaed71e7f81542e3fae7e2cbd5f83 Mon Sep 17 00:00:00 2001 From: Mohammed Al Sahaf Date: Fri, 13 Jun 2025 03:16:04 +0300 Subject: [PATCH] ci: add `{base,head}-ref` to dep review check Signed-off-by: Mohammed Al Sahaf --- .github/workflows/lint.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 2bbf6cf74..cebe2821f 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -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 }}