From 467842c84c81487fcdc9af7638c4d6a4e79066fb Mon Sep 17 00:00:00 2001 From: adrinr Date: Mon, 17 Apr 2023 20:45:30 +0100 Subject: [PATCH] Fix --- .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 01ecbecac8..bc7f1d4e65 100644 --- a/.github/workflows/budibase_ci.yml +++ b/.github/workflows/budibase_ci.yml @@ -96,7 +96,8 @@ jobs: - name: Check submodule run: | cd packages/pro - if ! git branch --contains $github.head_ref | grep -q chore/pro_as_submodule; then + echo ${{ github.head_ref }} + if ! git branch --contains ${{ github.head_ref }} | grep -q chore/pro_as_submodule; then echo "Current commit is not part of main branch" exit 1 else