Skip to content

Commit 324688e

Browse files
committed
ci: rebase before pushing engine bumps
1 parent 7179505 commit 324688e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/bump-engine.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ jobs:
5151
git config user.email "289859915+TechEngineBot@users.noreply.github.com"
5252
git add TechEngine
5353
git commit -m "chore: bump TechEngine submodule to ${NEW_SHA}"
54-
git push
54+
git pull --rebase origin main
55+
git push origin HEAD:main
5556
echo "techapi_sha=$(git rev-parse HEAD)" >> "$GITHUB_OUTPUT"
5657
5758
- name: Dispatch reciprocal TechAPI bump to TechEngine

0 commit comments

Comments
 (0)