From cdcbc9ec781d7fa024c0fa45443add4de95ec62f Mon Sep 17 00:00:00 2001 From: adrinr Date: Mon, 17 Apr 2023 20:22:07 +0100 Subject: [PATCH] Try using branch name --- .github/workflows/budibase_ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/budibase_ci.yml b/.github/workflows/budibase_ci.yml index dfdb1ecc2c..5775d247cb 100644 --- a/.github/workflows/budibase_ci.yml +++ b/.github/workflows/budibase_ci.yml @@ -113,7 +113,7 @@ jobs: - name: Check submodule run: | cd packages/pro - if ! git branch --contains $(git log -n 1 --pretty=format:%H) | grep -q chore/pro_as_submodule; then + if ! git branch --contains $BASE_BRANCH | grep -q chore/pro_as_submodule; then echo "Current commit is not part of main branch" exit 1 else