Skip to content

fix(ci): checkout master in bump-electron.yml#427

Merged
icebear0828 merged 1 commit intodevfrom
fix/bump-electron-checkout-master
Apr 29, 2026
Merged

fix(ci): checkout master in bump-electron.yml#427
icebear0828 merged 1 commit intodevfrom
fix/bump-electron-checkout-master

Conversation

@icebear0828
Copy link
Copy Markdown
Owner

Summary

  • bump-electron.yml 的 checkout 没指定 ref,schedule 触发时落到 default branch (dev) 的工作树
  • 脚本最后 git push origin master --follow-tags 在 dev worktree 上报 src refspec master does not match any
  • 自 2026-04-26 起每天 16:00 UTC 跑都失败,stable 停在 v2.0.66
  • 显式 ref: master 让 checkout 落在 master 上,bump commit + tag 推回 master

Test plan

  • git diff 只有一行 ref: master + CHANGELOG
  • gh workflow run bump-electron.yml --ref fix/bump-electron-checkout-master 跑通,发出 v2.0.67
  • 合并后下一个 16:00 UTC schedule tick 不再 fail

Default branch is now dev, so the scheduled stable-bump workflow was
landing on dev's worktree and `git push origin master --follow-tags`
failed with `src refspec master does not match any`. Stable releases
have been stuck at v2.0.66 since 2026-04-24.

Pin the checkout to master so the bump commit and tag actually live on
master.
@icebear0828 icebear0828 merged commit cca154b into dev Apr 29, 2026
1 check passed
@icebear0828 icebear0828 deleted the fix/bump-electron-checkout-master branch April 29, 2026 21:44
icebear0828 added a commit that referenced this pull request May 5, 2026
Default branch is now dev, so the scheduled stable-bump workflow was
landing on dev's worktree and `git push origin master --follow-tags`
failed with `src refspec master does not match any`. Stable releases
have been stuck at v2.0.66 since 2026-04-24.

Pin the checkout to master so the bump commit and tag actually live on
master.

Co-authored-by: icebear0828 <icebear0828@users.noreply.github.com>
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.

1 participant