From f30f173a39fef74a030a4cc53837fc5a2c92f5ea Mon Sep 17 00:00:00 2001 From: Antoine Boissinot Date: Wed, 8 May 2024 12:04:54 -0400 Subject: [PATCH] feat(pipelines): fix dep review --- .github/workflows/dependency-review.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.yml index aea2ded36..0640cbab9 100644 --- a/.github/workflows/dependency-review.yml +++ b/.github/workflows/dependency-review.yml @@ -14,5 +14,5 @@ jobs: with: public: true distributed: true - base-ref: 'main' - head-ref: ${{ github.ref_name }} + base-ref: ${{ github.event.pull_request.base.sha || 'main' }} + head-ref: ${{ github.event.pull_request.head.sha || github.ref_name }}