Merge pull request #11134 from Budibase/fix/pro_pipeline
Fix - pro checks pipeline
This commit is contained in:
commit
ee0e9ab27a
|
@ -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)
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 544c7e067de69832469cde673e59501480d6d98a
|
||||
Subproject commit 1a5207d91fb9e0835562c708dd9c421973026543
|
Loading…
Reference in New Issue