workflow: fix merge conflict failing script
This commit is contained in:
parent
2ac3af7a53
commit
a2a3d2586c
@ -34,7 +34,7 @@ jobs:
|
|||||||
if [ $commits_ahead -ne 0 ]
|
if [ $commits_ahead -ne 0 ]
|
||||||
then
|
then
|
||||||
git fetch origin
|
git fetch origin
|
||||||
git merge --squash origin/main
|
git merge --squash origin/main || true # do not exit script on merge conflict
|
||||||
git push --force-with-lease
|
git push --force-with-lease
|
||||||
|
|
||||||
# solve potential merge conflict by taking flake.lock from main
|
# solve potential merge conflict by taking flake.lock from main
|
||||||
|
Loading…
x
Reference in New Issue
Block a user