Back to the working version

This commit is contained in:
adrinr 2023-04-18 12:07:09 +01:00
parent cedadb6c00
commit 90506265ab
1 changed files with 4 additions and 6 deletions

View File

@ -91,16 +91,14 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2
with:
submodules: recursive
submodules: true
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
fetch-depth: 0
- name: Check submodule
run: |
cd packages/pro
echo $(git ls-remote --heads)
git remote update
git fetch --depth=10000
echo $(git branch -r)
if ! git merge-base --is-ancestor $(git log -n 1 --pretty=format:%H) origin/chore/pro_as_submodule; then
git fetch
if ! git merge-base --is-ancestor $(git log -n 1 --pretty=format:%H) origin/develop; then
echo "Current commit has not been merged to develop"
exit 1
else