1
0
Fork 0
mirror of synced 2024-07-06 15:00:49 +12:00
This commit is contained in:
adrinr 2023-04-17 20:02:57 +01:00
parent 307587c982
commit 061ec2eb2d

View file

@ -97,8 +97,7 @@ jobs:
run: |
cd packages/pro
git fetch
git merge-base --is-ancestor HEAD develop
if ! git branch --contains HEAD | grep -q "develop"; then
if ! git branch --contains HEAD | grep -q "origin/develop"; then
echo "Current commit is not part of main branch" >&2
exit 1
fi
@ -115,8 +114,7 @@ jobs:
run: |
cd packages/pro
git fetch
git merge-base --is-ancestor HEAD develop
if ! git branch --contains HEAD | grep -q "chore/pro_as_submodule"; then
if ! git branch --contains HEAD | grep -q "origin/chore/pro_as_submodule"; then
echo "Current commit is not part of main branch" >&2
exit 1
fi
@ -133,7 +131,6 @@ jobs:
run: |
cd packages/pro
git fetch
git merge-base --is-ancestor HEAD develop
if ! git branch --contains HEAD | grep -q "pro_as_submodule"; then
echo "Current commit is not part of main branch" >&2
exit 1