Use current sha
This commit is contained in:
parent
a6af18daae
commit
00698d48d6
1 changed files with 2 additions and 1 deletions
3
.github/workflows/budibase_ci.yml
vendored
3
.github/workflows/budibase_ci.yml
vendored
|
@ -98,7 +98,8 @@ jobs:
|
|||
run: |
|
||||
cd packages/pro
|
||||
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"
|
||||
exit 1
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue