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