From d4bed47c3c4f46db260186f50bf8ca2818dabb13 Mon Sep 17 00:00:00 2001 From: Daniel Van Der Ploeg Date: Thu, 21 Nov 2024 17:32:47 +1030 Subject: [PATCH] chore: fetch destination branch --- .github/workflows/build.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index baaedfd1..1d02bc74 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,7 +10,10 @@ jobs: - name: Checkout Repository uses: actions/checkout@v4 with: - fetch-depth: 1 + fetch-depth: 0 + + - name: Fetch target + run: git fetch origin ${{ github.event.pull_request.base.ref }} - name: Enable Corepack run: corepack enable