From 76367bf07e9f8894ccb18d170908b321334acc43 Mon Sep 17 00:00:00 2001 From: Jake Smith Date: Wed, 24 Jan 2024 20:20:28 +0000 Subject: [PATCH] HPCC-31175 Fix eclhelper github action, check against target base Signed-off-by: Jake Smith --- .github/workflows/test-eclhelper.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-eclhelper.yml b/.github/workflows/test-eclhelper.yml index 4098beaa64d..e6e9106ff8a 100644 --- a/.github/workflows/test-eclhelper.yml +++ b/.github/workflows/test-eclhelper.yml @@ -17,7 +17,7 @@ jobs: fetch-depth: 1 - name: Fetch base run: | - git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin ${{ github.event.pull_request.base.sha }} + git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin ${{ github.base_ref }} - name: Check eclhelper run: | - git diff ${{ github.event.pull_request.base.sha }} --exit-code -- rtl/include/eclhelper.hpp + git diff origin/${{ github.base_ref }} --exit-code -- rtl/include/eclhelper.hpp