Repository navigation
ci(release): 按语义化标签构建前后端部署包 - #23
Merged
Merged
Conversation
为手动创建的标签和发布事件增加版本校验、完整 CI 与长期分支扫描门禁,检查失败时阻止上传部署产物。 部署包固定到标签提交,包含前后端、迁移、依赖锁文件、管理员初始化工具及部署说明,排除真实配置和运行数据,并同步回归与文档。
发布包测试无需任何示例凭据,将样例夹具改为空配置并解析断言两项值均为空,避免敏感数据扫描将测试占位符识别为明文凭据。 保留真实配置排除、模板必需和固定提交契约,不调整扫描规则或告警门禁。
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
手动创建符合 SemVer 2.0.0 的 Tag 后,自动检查并构建前后端部署包。
包内提供后端运行源码、迁移、依赖锁文件、首个管理员工具、前端成品、部署说明与文件清单。
版本由用户创建;不会自动创建 Tag、发布 Release 或部署服务器。
Evidence
After: Tag push 和 Release published 均进入版本、CI 与扫描门禁;失败时不会上传部署包。
Merge Danger
Door: two-way
可调整工作流和打包白名单,已有 Tag 不会因校验失败被删除。
Blast Radius: CI
增加 Tag 自动构建和 Code checks 复用入口,保留分支扫描与 Pages 门禁。包内不含运行时、已安装依赖或真实配置数据。