Migrate generate-automation.js to js-yaml 5
Los mantenedores suelen responder en 1 día
Evaluación
Este issue todavía no se ha evaluado.
Descripción
❌ This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.
Overview
Dependabot PR #118 bumps the js-yaml devDependency from 4.1.0 to 5.5.0 and was closed unmerged: under 5.x, scripts/generate-automation.js emits different YAML, so the generate-automation prek hook (node scripts/generate-automation.js --check) fails on all five generated files. The generator needs to produce the current output under js-yaml 5 before the bump can land.
Complexity: Low
Target branch: main
Context
- js-yaml 5.4.0 reworked scalar style selection and rewrote
sortKeys. DUMP_OPTSsetsquotingType: '"'; under 5.5.0 strings come out single-quoted anyway.- The top-level
onkey now dumps as'on':;unquoteOnKeyonly matches"on":, so the key stays quoted and the# zizmor: ignore[dangerous-triggers]suffix is dropped fromautomation-caller.yml. - The bump also adds
argparse@^3.0.3as a transitive dependency; no other package must move with it.
The Change
js-yamlshould be upgraded to 5.5.0 or later inpackage.jsonandyarn.lock.- The generator should select double-quoted strings through the js-yaml 5 scalar style options (5.4.0 added
scalarStyleRules). unquoteOnKeyshould match theonkey as js-yaml 5 emits it.
How to Get There
Install the dependency branch from #118 (dependabot/npm_and_yarn/js-yaml-5.5.0), then run node scripts/generate-automation.js --check.
Acceptance Criteria
-
package.jsonandyarn.lockpinjs-yamlat 5.5.0 or later. -
node scripts/generate-automation.js --checkpasses, and the prek CI job is green. -
automation.yml,automation-caller.yml,automation-group-issues.yml,automation-group-pull-request-target.ymlandautomation-template.ymlkeep double-quoted strings and a bareon:key. -
automation-caller.ymlkeepson: # zizmor: ignore[dangerous-triggers]. - Any remaining diff in the generated files is committed alongside the generator change.
References
AI usage
rtibblesbot (Claude Code) reviewed #118, recommended closing it, and drafted this issue from that review.
Filed from #118's review.
- Lenguaje dominante
- JavaScript
- Estrellas
- 1
- Forks
- 7
- Merge medio
- 2 d 8 h
- PR fusionados (30 d)
- 10
Preparar el entorno
- Sin Dockerfile ni 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 learningequality/.github
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
learningequality/.github#112 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 42/100
learningequality/.github#130 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
learningequality/.github#129 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 24/100
learningequality/.github#128 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 58/100
learningequality/.github#127 ·
Los mantenedores suelen responder en 1 día
Todos los issues de learningequality/.github
Issues similares
-
[guide] AGENTS.md claims the coverage gate, e2e and full lint run on every PR after ADR 0011 focused validationPosiblemente ocupada @hivecommons-hive la tomó hoy. Abiertoagent/guide documentation hive/claimed-by-guide stage/040-covered-by-pr
Dificultad 2/5 1-3 horas Aptitud para principiantes 81/100
cncf/endusers#2006 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
check:passed feeds:add
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
Los mantenedores suelen responder en 4 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
all-contributors/cli#587 ·
Los mantenedores suelen responder en 1 día
-
RGAA5
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
Los mantenedores suelen responder en 8 días
-
feedback simulation workshop
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
githubnext/gh-aw-workshop#5157 ·
Los mantenedores suelen responder en 1 día