1
0
Fork 0
mirror of synced 2024-09-30 00:57:16 +13:00
This commit is contained in:
adrinr 2023-04-17 20:53:45 +01:00
parent dfc58cff00
commit 52a6c872c2

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