Docs: refresh GitHub Actions examples to the current image-tag pin and document summary outputs
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 74/100
- Issue 类型
- 文档
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- github-actions
- 领域
- ci-cd, documentation
调研方向
从 image-tag 的默认值以及 action.yml 中的输出定义入手,然后将它们与 examples/github-actions/README.md 中的固定值以及同级的工作流示例进行比较。更新日历固定值使其保持一致,说明 drift-score、risk-level、score-delta 和 summary-file(镜像过旧时为空),并添加一个在 if: always() 步骤中读取它们的代码片段。完成标准是不再有旧的固定值,并且该代码片段不需要密钥或网络访问。
由索引模型根据 Issue 内容生成。
描述
Context
action.yml pins the default scanner image-tag to 2026.1007.1 and exposes CI-friendly outputs from vg scan --summary-out: drift-score, risk-level, score-delta, and summary-file. Older images skip --summary-out with a notice and leave those outputs empty.
examples/github-actions/README.md still documents the pin as 2026.1005.1 in several places (install step, pins table, composite Action example). Newcomers copying that file gate on a stale scanner and never learn how to read the summary outputs in a later job step.
What to do
- Update every calendar pin in
examples/github-actions/(and any sibling workflow comments that hard-code the old default) so they match the currentimage-tagdefault inaction.yml. Prefer one shared wording such as "theimage-tagdefault inaction.yml" plus the current value. - Document the Action outputs: what each field means, that an unmeasured score is empty/
null(never0), and that an olderimage-tagleaves them empty with a notice. - Add a short workflow snippet that writes the summary (default
vibgrate-summary.jsonor thesummary:input) and printsdrift-score/risk-level/score-deltain a follow-up step withif: always(). - Keep examples local-first: no DSN required, no secrets in the sample.
Acceptance
-
examples/github-actions/README.md(and checked-in workflow samples that hard-code a calendar pin) match the currentaction.ymlimage-tagdefault - Outputs
drift-score,risk-level,score-delta, andsummary-fileare described, including the older-image empty case - A copy-paste snippet shows reading those outputs after the scan step
- No network calls, tokens, or private docs referenced
- 主要语言
- TypeScript
- 星标
- 4
- 派生
- 3
- 平均合并
- 1 天 22 小时
- 30 天内合并 PR
- 76
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
vibgrate/cli 的其他 Issue
-
documentation good first issue
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
bug good first issue
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复
-
enhancement good first issue
难度 2/5 1-3 小时 新手友好度 86/100
维护者通常 1 天内回复
-
enhancement good first issue
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复
-
enhancement good first issue
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复
相似的 Issue
-
documentation Entwickler
难度 1/5 1 小时以内 新手友好度 89/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
area:frontend bug ci-test level:low priority:high
难度 2/5 1-3 小时 新手友好度 75/100
skytuhua-org/Gen-V1#2974 · 4 条评论 ·
维护者通常 2 天内回复
-
area: cli area: core priority: P3 type: bug
难度 2/5 1-3 小时 新手友好度 75/100
appandflow/stim#6736 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
naomiaro/waveform-playlist#973 ·
维护者通常 1 天内回复