workflow: do not use squashed merging
This commit is contained in:
parent
9cfe01d3e4
commit
e2fa915bdd
@ -34,8 +34,7 @@ jobs:
|
|||||||
if [ $commits_ahead -ne 0 ]
|
if [ $commits_ahead -ne 0 ]
|
||||||
then
|
then
|
||||||
git fetch origin
|
git fetch origin
|
||||||
git merge -X theirs --squash origin/main
|
git merge -m "Merge main branch $(date -I)" -X theirs origin/main
|
||||||
git commit -m "Merge main branch squashed $(date -I)"
|
|
||||||
else
|
else
|
||||||
echo "Merge not necessary"
|
echo "Merge not necessary"
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user