Fetch all branches

This commit is contained in:
adrinr 2023-04-18 11:25:33 +01:00
parent 3b3e1f5247
commit e5411277fd
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ jobs:
- name: Check submodule - name: Check submodule
run: | run: |
cd packages/pro cd packages/pro
git fetch --unshallow git fetch --all
echo $(git log -n 1 --pretty=format:%H) echo $(git log -n 1 --pretty=format:%H)
if ! git merge-base --is-ancestor $(git log -n 1 --pretty=format:%H) origin/chore/pro_as_submodule; then if ! git merge-base --is-ancestor $(git log -n 1 --pretty=format:%H) origin/chore/pro_as_submodule; then
echo "Current commit has not been merged to develop" echo "Current commit has not been merged to develop"