Git log
This commit is contained in:
parent
dfc58cff00
commit
52a6c872c2
|
@ -96,9 +96,8 @@ jobs:
|
||||||
- name: Check submodule
|
- name: Check submodule
|
||||||
run: |
|
run: |
|
||||||
cd packages/pro
|
cd packages/pro
|
||||||
echo $GITHUB_SHA
|
echo $(git log -n 1 --pretty=format:%H)
|
||||||
echo ${{ github.sha }}
|
if ! git branch --contains $(git log -n 1 --pretty=format:%H) | grep -q chore/pro_as_submodule"; then
|
||||||
if ! git branch --contains $GITHUB_SHA | 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
|
||||||
|
|
Loading…
Reference in New Issue