Feedback: `--no-narrow` should be the default

Abierto
#223 3 comentarios 2 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
57/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
github-actions, go
Área
cli, devtools

Línea de trabajo

Read the CLI entry point and the code that applies the --no-narrow option when a lockfile is present. Trace how the current default sets version ranges, then check the related tests for workflow dependency pinning. Done means the default keeps ranges as wide as possible while the option still behaves as documented.

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

Descripción

area:cli feedback

The entire point of a lockfile is full 100% pinning. Thus, any further pinning offers zero benefit.

When I have @v2 in a workflow, I'm documenting my intention - to follow the v2 branch/tag. By narrowing, you're erasing the most important piece of information on that line - it's actively harmful.

Please change the default - with a lockfile present, ranges outside of that should be as WIDE as possible, not as narrow as possible.

Lenguaje dominante
Go
Estrellas
253
Forks
15
Merge medio
19 h 30 min
PR fusionados (30 d)
60

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 github/gh-actions-lock

Todos los issues de github/gh-actions-lock

Issues similares

Más issues de Go

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.