Attempt 2
This commit is contained in:
parent
aeb28b3366
commit
dfc58cff00
|
@ -96,10 +96,9 @@ jobs:
|
||||||
- name: Check submodule
|
- name: Check submodule
|
||||||
run: |
|
run: |
|
||||||
cd packages/pro
|
cd packages/pro
|
||||||
echo ${{ github.head_ref }}
|
echo $GITHUB_SHA
|
||||||
echo ${{ github.ref }}
|
echo ${{ github.sha }}
|
||||||
echo $github.head_ref
|
if ! git branch --contains $GITHUB_SHA | grep -q chore/pro_as_submodule; then
|
||||||
if ! git branch --contains ${{ github.head_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 New Issue