Try using branch name
This commit is contained in:
parent
9c28413274
commit
cdcbc9ec78
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue