Skip to content

ci: set git identity for Sync Main Into Develop - #238

Merged
jubaoliang merged 1 commit into
mainfrom
ci/sync-git-identity
Aug 11, 2026
Merged

ci: set git identity for Sync Main Into Develop#238
jubaoliang merged 1 commit into
mainfrom
ci/sync-git-identity

Conversation

@jubaoliang

Copy link
Copy Markdown
Collaborator

Summary

  • Sync Main Into Develop 从 main 上的 workflow 定义执行(Release / workflow_dispatch --ref main)。
  • Runner 没有 user.name / user.email,merge commit 会在处理冲突前失败。
  • 在 merge/commit 前设置 github-actions[bot] 身份;仅在存在 MERGE_HEADmerge --abort

develop 已通过 #237 带上同一修复。合入本 PR 后需再把新的 main tip 同步回 develop,以保持祖先关系。

Test plan

  • 本地 pre-commit(make all + dashboard build)通过
  • 合入后手动 Re-run / workflow_dispatch 不再出现 empty ident
  • 合入后把新的 main tip 同步回 develop

Made with Cursor

GitHub-hosted runners have no committer name/email, so merge commits
failed before conflicts could be handled. Abort only when MERGE_HEAD exists.

Co-authored-by: Cursor <cursoragent@cursor.com>
@jubaoliang
jubaoliang merged commit 9119038 into main Aug 11, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants