Enhancement: add a `junit` input to the GitHub Action
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 74/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- github-actions, typescript
Línea de trabajo
Start with action.yml and the action implementation, then read the baseline path validation and summary-out help probe; the issue names src/reporting/commands/scan.ts as the existing --junit entry point. Check the test/action-*.ts contract tests. Done when the optional input adds --junit only when set, rejects unsafe or conflicting paths, handles older CLI versions with a notice, and leaves default runs unchanged.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
- Difficulty: small
- Area: GitHub Action
Problem
vg scan already has --junit <file> (src/reporting/commands/scan.ts, around line 406). The composite action in action.yml maps max-score, fail-on-epss, baseline, and max-worsening to flags, but has no first-class junit input. Callers must stuff --junit … into args, which is easier to get wrong and is not documented next to the other gates.
Expected behaviour
Add an optional junit input (repo-relative output path). When it is set, pass --junit <path> to scan, after the same kind of path check used for baseline (inside the repository, not absolute, not ..). Do not default it (empty means no JUnit file). output / --out and junit must remain different files; if they resolve to the same path, fail the step with the same message the CLI already uses. Probe scan --help for --junit the way summary-out is probed, so an older image-tag gets a notice instead of a hard failure on an unknown flag.
Acceptance
action.ymldocuments the input and that it maps to--junit.- A unit/contract test in the
test/action-*.tsstyle asserts the flag is added only when the input is set, is omitted when empty, and is rejected when it equalsoutput. - Default runs (no
junitinput) are unchanged.
- Lenguaje dominante
- TypeScript
- Estrellas
- 4
- Forks
- 3
- Merge medio
- 1 d 22 h
- PR fusionados (30 d)
- 76
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de vibgrate/cli
-
documentation good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
bug good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día
-
enhancement good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
Los mantenedores suelen responder en 1 día
-
enhancement good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día
-
enhancement good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día
Todos los issues de vibgrate/cli
Issues similares
-
documentation Entwickler
Dificultad 1/5 Menos de una hora Aptitud para principiantes 89/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
area:frontend bug ci-test level:low priority:high
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
skytuhua-org/Gen-V1#2974 · 4 comentarios ·
Los mantenedores suelen responder en 2 días
-
area: cli area: core priority: P3 type: bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
appandflow/stim#6736 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
naomiaro/waveform-playlist#973 ·
Los mantenedores suelen responder en 1 día