Skip to content

Commit

Permalink
fix(ci): run merge aftering pulling from Lokalise
Browse files Browse the repository at this point in the history
  • Loading branch information
zyf722 committed Nov 3, 2024
1 parent 68d8997 commit 200139f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/i18n-update-scheduled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ jobs:
git config pull.rebase false
git fetch origin $BRANCH:$BRANCH
git checkout $BRANCH
git pull origin develop
else
git checkout -b $BRANCH
fi
Expand Down Expand Up @@ -101,7 +100,9 @@ jobs:
echo "LAST_COMMIT_SHA_PULL=$(git log -n 1 --format="%H" -- src/livecodes/i18n/locales)" >> $GITHUB_ENV
- name: Push changes
run: git push origin $BRANCH
run: |
git pull origin ${{ github.event.repository.default_branch }}
git push origin $BRANCH
- name: Check if has differences between ${{ env.BRANCH }} and ${{ github.event.repository.default_branch }}
id: check-diff
Expand Down

0 comments on commit 200139f

Please sign in to comment.