Add git fetch
This commit is contained in:
parent
52a6c872c2
commit
5215f4d400
|
@ -96,6 +96,7 @@ jobs:
|
||||||
- name: Check submodule
|
- name: Check submodule
|
||||||
run: |
|
run: |
|
||||||
cd packages/pro
|
cd packages/pro
|
||||||
|
git fetch
|
||||||
echo $(git log -n 1 --pretty=format:%H)
|
echo $(git log -n 1 --pretty=format:%H)
|
||||||
if ! git branch --contains $(git log -n 1 --pretty=format:%H) | grep -q chore/pro_as_submodule"; then
|
if ! git branch --contains $(git log -n 1 --pretty=format:%H) | 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"
|
||||||
|
|
Loading…
Reference in New Issue