1
0
Fork 0
mirror of synced 2024-07-04 14:01:27 +12:00

Try using branch name

This commit is contained in:
adrinr 2023-04-17 20:22:07 +01:00
parent 9c28413274
commit cdcbc9ec78

View file

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