Try using branch name

This commit is contained in:
adrinr 2023-04-17 20:22:07 +01:00
parent 9c28413274
commit cdcbc9ec78
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ jobs:
- name: Check submodule - name: Check submodule
run: | run: |
cd packages/pro 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" echo "Current commit is not part of main branch"
exit 1 exit 1
else else