algolia / algolia/setup-algolia-cli

Latest is not the latest actually

Abierto
#7 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
JavaScript
Estrellas
3
Forks
3
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

In the README it is said that the default value for the `version` input is `latest`, though it's not the case anymore after https://github.com/algolia/setup-algolia-cli/commit/ecd8ce364b0b18dda462fd3edfa94d0c7da17838 (a fix for #1).

https://github.com/algolia/setup-algolia-cli/blob/ecd8ce364b0b18dda462fd3edfa94d0c7da17838/action.yml#L6-L10

Ideally, the proper implementation for `latest` is awaited. Though it may be not so straightforward as described in [the docs](https://docs.github.com/en/repositories/releasing-projects-on-github/linking-to-releases) because the file name is not static.

Anyhow, having outdated `1.2.0` as a hard-coded default version doesn't make much sense because the CLI evolves constantly. Currently it's 1.4.2. You'd have to create a new version of this action every time a new version of CLI comes out.

Or at least a correction of the README is necessary to avoid confusion. I'd suggest removing the default altogether in this case.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

Lee la README junto con action.yml, especialmente la entrada de versión de las líneas 6–10 enlazada en el issue. Determina si el valor predeterminado documentado coincide con el comportamiento real de la acción; se considera terminado cuando los usuarios ya no reciben información engañosa sobre el valor predeterminado, y el issue sugiere eliminarlo de la README si la implementación permanece sin cambios.

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

Evaluación

Stack tecnológico
github-actions, javascript
Área
ci-cd, documentation
Tipo de issue
Error
Dificultad
2/5
Tiempo estimado
1-3 horas
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.