Use ref
This commit is contained in:
parent
6dc40fca6f
commit
58330bba92
2
.github/workflows/budibase_ci.yml
vendored
2
.github/workflows/budibase_ci.yml
vendored
|
@ -113,7 +113,7 @@ jobs:
|
||||||
- name: Check submodule
|
- name: Check submodule
|
||||||
run: |
|
run: |
|
||||||
cd packages/pro
|
cd packages/pro
|
||||||
if ! git branch --contains $BRANCH | grep -q chore/pro_as_submodule; then
|
if ! git branch --contains $GITHUB_BASE_REF | grep -q chore/pro_as_submodule; then
|
||||||
echo "Current commit is not part of main branch"
|
echo "Current commit is not part of main branch"
|
||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue