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

Abierto Apto para principiantes
#415 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
74/100
Tipo de issue
Documentación
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
github-actions

Línea de trabajo

Empieza con el valor predeterminado de image-tag y las definiciones de salida en action.yml, luego compáralas con los valores fijados en examples/github-actions/README.md y con cualquier flujo de trabajo de ejemplo relacionado. Actualiza los pines de calendario para que coincidan, describe drift-score, risk-level, score-delta y summary-file (vacío cuando la imagen es demasiado antigua) y añade un fragmento que los lea en un paso if: always(). Está terminado cuando no queda ningún pin antiguo y el fragmento no necesita secretos ni acceso a la red.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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
Lenguaje dominante
TypeScript
Estrellas
4
Forks
3
Merge medio
1 d 22 h
PR fusionados (30 d)
76

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de vibgrate/cli

Todos los issues de vibgrate/cli

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.