diff --git a/.github/workflows/dependency_review.yml b/.github/workflows/dependency_review.yml index 28f59d6..a62855d 100644 --- a/.github/workflows/dependency_review.yml +++ b/.github/workflows/dependency_review.yml @@ -24,7 +24,7 @@ jobs: GH_TOKEN: ${{ github.token }} run: | BASE_REF="${{ steps.dependency_review.with.base_ref || github.base_ref }}" - HEAD_REF="${{ steps.dependency_review.with.head_ref || github.pull_request.head_ref }}" + HEAD_REF="${{ steps.dependency_review.with.head_ref || github.head_ref }}" REPO="${{ github.repository }}" gh api \ -H "Accept: application/vnd.github+json" \