Skip to content

v0.2.0

Latest

Choose a tag to compare

@ZIye1208 ZIye1208 released this 04 Sep 15:05
· 2 commits to main since this release

变更

  • 加固 token 解析:逐行解析 .credentials.yaml 的 refs.GITHUB_TOKEN,容忍引号 / 行尾注释 / 任意缩进,替换原先脆弱的单行正则。
  • github_token_status 增强:检测到 token 来自环境变量(source=env、只读、遮蔽凭据中心)时,明确提示先 unset GITHUB_TOKEN,避免用户困惑。
  • github_set_token 引导:写入失败时给出更友好的排查指引。

说明

  • 环境变量中的 GITHUB_TOKEN 优先且只读,会遮蔽凭据中心值;建议统一存到 DSH 凭据中心(.credentials.yaml)。