fix(ci): checkout master in bump-electron.yml#427
Merged
icebear0828 merged 1 commit intodevfrom Apr 29, 2026
Merged
Conversation
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
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
bump-electron.yml的 checkout 没指定 ref,schedule 触发时落到 default branch (dev) 的工作树git push origin master --follow-tags在 dev worktree 上报src refspec master does not match anyref: master让 checkout 落在 master 上,bump commit + tag 推回 masterTest plan
git diff只有一行ref: master+ CHANGELOGgh workflow run bump-electron.yml --ref fix/bump-electron-checkout-master跑通,发出 v2.0.67