This commit is contained in:
adrinr 2023-04-17 21:37:20 +01:00
parent 84a9e41efe
commit 187c64d351
1 changed files with 3 additions and 2 deletions

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