Skip to content

Commit 0fbfd17

Browse files
committed
added new 2
1 parent 74dbd26 commit 0fbfd17

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/sync-demo-branch.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,10 @@ jobs:
3434
run: git fetch origin
3535

3636
# Perform the merge from main into demo
37-
- name: Merge main into demo (preferring main for non-demo conflicts)
37+
- name: Merge main into demo TEST without -X theirs
3838
run: |
39-
# Merge main using -X theirs to auto-resolve non-demo conflicts by taking main's version.
40-
# .gitattributes merge=ours for demo folders takes precedence.
41-
git merge --no-ff -X theirs origin/main -m "Auto-merge main into demo (preferring main for conflicts)"
39+
# TEST: Removed -X theirs to see if .gitattributes merge=ours works alone
40+
git merge --no-ff origin/main -m "Auto-merge main into demo (TEST: without -X theirs)"
4241
4342
# Push the merge commit (and resolved changes) back to the demo branch
4443
- name: Push changes to demo

0 commit comments

Comments
 (0)