Use ref
This commit is contained in:
parent
6dc40fca6f
commit
58330bba92
|
@ -113,7 +113,7 @@ jobs:
|
|||
- name: Check submodule
|
||||
run: |
|
||||
cd packages/pro
|
||||
if ! git branch --contains $BRANCH | grep -q chore/pro_as_submodule; then
|
||||
if ! git branch --contains $GITHUB_BASE_REF | grep -q chore/pro_as_submodule; then
|
||||
echo "Current commit is not part of main branch"
|
||||
exit 1
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue