Docs: refresh GitHub Actions examples to the current image-tag pin and document summary outputs

オープン 初心者向け
#415 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
74/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
github-actions

調査の方向性

まず action.yml の image-tag のデフォルト値と出力定義を確認し、次に examples/github-actions/README.md の固定値と、関連するサンプルワークフローと比較してください。カレンダーのピン留めを一致するように更新し、drift-score、risk-level、score-delta、summary-file(イメージが古すぎる場合は空)を説明し、if: always() ステップでこれらを読み取るスニペットを追加してください。古いピンが一つも残っておらず、スニペットがシークレットもネットワークアクセスも必要としない状態で完了です。

索引モデルが issue の本文から書いたものです。

説明

documentation good first 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 current image-tag default in action.yml. Prefer one shared wording such as "the image-tag default in action.yml" plus the current value.
  • Document the Action outputs: what each field means, that an unmeasured score is empty/null (never 0), and that an older image-tag leaves them empty with a notice.
  • Add a short workflow snippet that writes the summary (default vibgrate-summary.json or the summary: input) and prints drift-score / risk-level / score-delta in a follow-up step with if: 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 current action.yml image-tag default
  • Outputs drift-score, risk-level, score-delta, and summary-file are 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時間
マージ済み PR(30日)
76

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

vibgrate/cli のほかの issue

vibgrate/cli の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。