Attempt 2
This commit is contained in:
parent
aeb28b3366
commit
dfc58cff00
|
@ -96,10 +96,9 @@ jobs:
|
|||
- name: Check submodule
|
||||
run: |
|
||||
cd packages/pro
|
||||
echo ${{ github.head_ref }}
|
||||
echo ${{ github.ref }}
|
||||
echo $github.head_ref
|
||||
if ! git branch --contains ${{ github.head_ref }} | grep -q chore/pro_as_submodule; then
|
||||
echo $GITHUB_SHA
|
||||
echo ${{ github.sha }}
|
||||
if ! git branch --contains $GITHUB_SHA | grep -q chore/pro_as_submodule; then
|
||||
echo "Current commit is not part of main branch"
|
||||
exit 1
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue