Git log
This commit is contained in:
parent
dfc58cff00
commit
52a6c872c2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue