This commit is contained in:
adrinr 2023-04-17 20:53:45 +01:00
parent dfc58cff00
commit 52a6c872c2
1 changed files with 2 additions and 3 deletions

View File

@ -96,9 +96,8 @@ jobs:
- name: Check submodule
run: |
cd packages/pro
echo $GITHUB_SHA
echo ${{ github.sha }}
if ! git branch --contains $GITHUB_SHA | grep -q chore/pro_as_submodule; then
echo $(git log -n 1 --pretty=format:%H)
if ! git branch --contains $(git log -n 1 --pretty=format:%H) | grep -q chore/pro_as_submodule"; then
echo "Current commit is not part of main branch"
exit 1
else