Skip to content

Commit 8249bdb

Browse files
committed
fix: rebase before push in Auto Release workflow
Add git pull --rebase to handle concurrent changes from other workflows before pushing CHANGELOG.md updates.
1 parent f742b10 commit 8249bdb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/auto-release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ jobs:
222222
223223
git add CHANGELOG.md
224224
git commit -m "chore: update CHANGELOG.md for v${VERSION} [skip ci]"
225+
git pull --rebase origin main
225226
git push origin main
226227
227228
- name: Install Rust toolchain for publish

0 commit comments

Comments
 (0)