1
0
Fork 0
mirror of synced 2024-06-30 20:10:54 +12:00
This commit is contained in:
adrinr 2023-04-17 21:37:20 +01:00
parent 84a9e41efe
commit 187c64d351

View file

@ -96,8 +96,9 @@ jobs:
- name: Check submodule
run: |
cd packages/pro
git fetch --prune
if ! git branch --contains $(git log -n 1 --pretty=format:%H) | grep -q "chore/pro_as_submodule"; then
git fetch
echo $(git branch --contains fa3583ac3eedcb546612e8c696982dda7fae492c)
if ! git branch --contains $(git log -n 1 --pretty=format:%H) | grep -q "origin/chore/pro_as_submodule"; then
echo "Current commit is not part of main branch"
exit 1
else