Skip to content

Commit

Permalink
Revert "set to theirs"
Browse files Browse the repository at this point in the history
This reverts commit 60228d9.

Signed-off-by: Jinzhe Zeng <[email protected]>
  • Loading branch information
njzjz committed Nov 11, 2024
1 parent 3cce853 commit 30f20f3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
.git_archival.txt export-subst
# different in different branches
.nvmrc merge=ours
1 change: 1 addition & 0 deletions .github/workflows/sync-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git branch ${BRANCH_NAME} -f
git checkout ${BRANCH_NAME}
git config --global merge.ours.driver true
git merge origin/${{ github.ref_name }} -s ours
git push origin ${BRANCH_NAME} --force
PR_URL="$(gh pr list --head "${BRANCH_NAME}" --state open --json url --jq .[].url)"
Expand Down

0 comments on commit 30f20f3

Please sign in to comment.