This commit is contained in:
adrinr 2023-04-17 20:45:30 +01:00
parent 3905c3af47
commit 467842c84c
1 changed files with 2 additions and 1 deletions

View File

@ -96,7 +96,8 @@ jobs:
- name: Check submodule - name: Check submodule
run: | run: |
cd packages/pro cd packages/pro
if ! git branch --contains $github.head_ref | grep -q chore/pro_as_submodule; then echo ${{ github.head_ref }}
if ! git branch --contains ${{ github.head_ref }} | 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