diff --git a/.github/workflows/budibase_ci.yml b/.github/workflows/budibase_ci.yml index 4ada96accc..f2e7f2eda9 100644 --- a/.github/workflows/budibase_ci.yml +++ b/.github/workflows/budibase_ci.yml @@ -175,6 +175,7 @@ jobs: uses: actions/checkout@v3 with: submodules: true + fetch-depth: 0 token: ${{ secrets.PERSONAL_ACCESS_TOKEN || github.token }} - name: Check pro commit @@ -183,10 +184,10 @@ jobs: cd packages/pro pro_commit=$(git rev-parse HEAD) - branch=${{ github.base_ref || github.ref_name }} + branch="${{ github.base_ref || github.ref_name }}" echo "Running on branch `$branch` (base_ref=${{ github.base_ref }}, ref_name=${{ github.head_ref }})" - if [[ "$branch" == "master" ]]; then + if [[ $branch == "master" ]]; then base_commit=$(git rev-parse origin/master) else base_commit=$(git rev-parse origin/develop) diff --git a/packages/pro b/packages/pro index 544c7e067d..1a5207d91f 160000 --- a/packages/pro +++ b/packages/pro @@ -1 +1 @@ -Subproject commit 544c7e067de69832469cde673e59501480d6d98a +Subproject commit 1a5207d91fb9e0835562c708dd9c421973026543