ci: 关闭非 main 分支 Vercel 自动部署并新增 CI 工作流 (#373)#374
Merged
Conversation
buxuku
commented
Jul 8, 2026
Owner
- vercel.json / docs/vercel.json:git.deploymentEnabled 仅放行 main, fork PR 不再触发预览部署,消除挂死的 "Authorization required to deploy" 检查
- 新增 .github/workflows/ci.yml:PR 与 main push 上运行 i18n 门禁、 五组纯逻辑单测(engines/parser/structured-output/cancel/dubbing)、 应用编译(nextron --no-pack)与 Docusaurus 文档构建,均不依赖 secrets
- vercel.json / docs/vercel.json:git.deploymentEnabled 仅放行 main, fork PR 不再触发预览部署,消除挂死的 "Authorization required to deploy" 检查 - 新增 .github/workflows/ci.yml:PR 与 main push 上运行 i18n 门禁、 五组纯逻辑单测(engines/parser/structured-output/cancel/dubbing)、 应用编译(nextron --no-pack)与 Docusaurus 文档构建,均不依赖 secrets
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.