Use current sha
This commit is contained in:
parent
a6af18daae
commit
00698d48d6
|
@ -98,7 +98,8 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
cd packages/pro
|
cd packages/pro
|
||||||
git fetch
|
git fetch
|
||||||
if ! git merge-base --is-ancestor $(git log -n 1 --pretty=format:%H) origin/chore/pro_as_submodule; then
|
echo $GITHUB_SHA
|
||||||
|
if ! git merge-base --is-ancestor $GITHUB_SHA origin/chore/pro_as_submodule; then
|
||||||
echo "Current commit has not been merged to develop"
|
echo "Current commit has not been merged to develop"
|
||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue