From 0be32afbc7da0cc4d3f789d78f2bba9d5d60781b Mon Sep 17 00:00:00 2001 From: adrinr Date: Mon, 17 Apr 2023 19:46:13 +0100 Subject: [PATCH] Add submodule check --- .github/workflows/budibase_ci.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/budibase_ci.yml b/.github/workflows/budibase_ci.yml index 31254e956c..892710ad1f 100644 --- a/.github/workflows/budibase_ci.yml +++ b/.github/workflows/budibase_ci.yml @@ -84,3 +84,16 @@ jobs: env: BB_ADMIN_USER_EMAIL: admin BB_ADMIN_USER_PASSWORD: admin + + check-pro-submodule: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + with: + submodules: "recursive" + - name: Check submodule + run: | + cd packages/pro + git fetch + git merge-base --is-ancestor HEAD develop