Repository navigation
ci: 避免格式错误回显资料内容并修复 Python 环境选择 - #16
Merged
Merged
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.
YAML 解析失败时,PyYAML 原始异常会包含出错行;非法日期也可能将字段值写进公开 CI 日志。本修改只输出文件位置及修正要求,保留正常校验结果。
同时让
npm test使用PYTHON指定的解释器,解决仅在虚拟环境安装 PyYAML 时仍调用系统 Python 的问题。验证:4 项行为回归通过,覆盖格式错误不回显原文、指定 Python 的调用与退出码、真实记录公开范围和双语资料链接;实际 main 预览构建通过(100 个页面);差异空白检查通过。
不包含 PR #14 的资料导入,资料来源复核与 GitHub 历史清理仍单独处理。