Add the user config and -X theirs to resolve conflicts

This commit is contained in:
Marc Di Luzio 2024-08-10 22:44:49 +01:00
parent be52d51517
commit 183de82091

View file

@ -29,7 +29,9 @@ jobs:
- name: Update release branch - name: Update release branch
if: github.ref == 'refs/heads/main' if: github.ref == 'refs/heads/main'
run: | run: |
git config --local user.email "[hidden]"
git config --local user.name "CI"
git fetch origin git fetch origin
git checkout -b release origin/release git checkout -b release origin/release
git merge --no-ff origin/main git merge origin/main -X theirs
git push origin release git push origin release