From 2fa60ccf541434f100f45be476861e8735def2d9 Mon Sep 17 00:00:00 2001 From: adrinr Date: Tue, 18 Apr 2023 11:18:06 +0100 Subject: [PATCH] Extract --- .github/workflows/budibase_ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/budibase_ci.yml b/.github/workflows/budibase_ci.yml index dbb753613e..4a72a5c567 100644 --- a/.github/workflows/budibase_ci.yml +++ b/.github/workflows/budibase_ci.yml @@ -98,8 +98,8 @@ jobs: run: | cd packages/pro git fetch - echo $GITHUB_SHA - if ! git merge-base --is-ancestor $GITHUB_SHA origin/chore/pro_as_submodule; then + echo $(git log -n 1 --pretty=format:%H) + if ! git merge-base --is-ancestor $(git log -n 1 --pretty=format:%H) origin/chore/pro_as_submodule; then echo "Current commit has not been merged to develop" exit 1 else