Skip to content

Commit

Permalink
added ours strategy option to merge
Browse files Browse the repository at this point in the history
  • Loading branch information
djeinstine committed Nov 20, 2024
1 parent b75f50f commit 3e16636
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/sync-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
lines=$( git diff ${{env.SYNC_BRANCH}}..${{env.REPO_NAME}}/${{env.SYNC_BRANCH}} -- . ':(exclude).github/**' | wc -l )
echo "Number of detected line changes: $lines"
if [ $lines -gt 0 ]; then
git merge ${{env.REPO_NAME}}/${{env.SYNC_BRANCH}}
git merge --strategy-option ours ${{env.REPO_NAME}}/${{env.SYNC_BRANCH}}
git push
fi
shell: bash
Expand Down

0 comments on commit 3e16636

Please sign in to comment.