diff --git a/.github/workflows/bitbucket-sync.yml b/.github/workflows/bitbucket-sync.yml index 3f5e727..6660eaa 100644 --- a/.github/workflows/bitbucket-sync.yml +++ b/.github/workflows/bitbucket-sync.yml @@ -49,9 +49,7 @@ jobs: run: git config --global user.email "organisation-name@github.com" && git config --global user.name "GitHub Action Runner" - name: Fix merge conflicts if any - run: | - git checkout --theirs . - git add . + run: git pull -s recursive -X ours upstream main - name: Git push to other repo run: git push upstream