Skip to content

Commit 5d35f4d

Browse files
committed
always merge main on the branches
1 parent 703856d commit 5d35f4d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/metadata-update.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,9 @@ jobs:
7373
if git ls-remote --exit-code --heads origin "$BRANCH_NAME"; then
7474
git fetch origin "$BRANCH_NAME"
7575
git checkout "$BRANCH_NAME"
76+
git merge origin/main --no-edit
7677
else
77-
git checkout -b "$BRANCH_NAME"
78+
git checkout -b "$BRANCH_NAME" origin/main
7879
fi
7980
8081
- name: Commit and push changes

0 commit comments

Comments
 (0)