fix: 修复 fork PR 的 Windows bootstrap 取源逻辑 - #47
Open
534A4D21 wants to merge 1 commit into
Open
Conversation
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.
修复内容
修复 Windows locked in-place upgrade smoke 在 fork PR 场景下使用错误源码仓库的问题。
此前 workflow 只向 bootstrap 传递 PR 的 head branch,但没有传递 fork head repository 的 owner 和 name。bootstrap 因此继续使用默认的
Qjzn/CX-Codex,尝试从上游仓库下载仅存在于 fork 的分支,最终返回 404。本次修改:
owner/name格式RepoOwner、RepoName和Branch一起传给现有 bootstrap 脚本验证
npm.cmd run verify:windows-productizationnpm.cmd run verify:release -- -SchemaAudit skipnpm.cmd run verify:governancegit diff --check