Skip to content

Commit e5aaa49

Browse files
committed
fix: update-nightly
1 parent 7e80e7c commit e5aaa49

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/update-nightly.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ jobs:
2525
git config user.name "${{ github.actor }}"
2626
git config user.email "${{ github.actor_id}}+${{ github.actor }}@users.noreply.github.com"
2727
28-
- name: merge main
28+
- name: rebase main
2929
run: |
3030
git fetch origin
31-
git merge origin/main --strategy-option ours --no-commit --allow-unrelated-histories
31+
git rebase origin/main -Xtheirs
3232
3333
- name: update lean-toolchain
3434
id: toolchain-tag
@@ -41,4 +41,4 @@ jobs:
4141
- name: commit and push
4242
run: |
4343
git commit -m "chore: update toolchain ${{ steps.toolchain-tag.outputs.lean_tag }}"
44-
git push origin nightly
44+
git push --force origin nightly

0 commit comments

Comments
 (0)