GitHub Actions bot deleted the Surface driver catalog

Abierto
#333 6 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
30/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
github-actions, powershell
Área
ci-cd

Línea de trabajo

Start from the linked commit 4b3384a, which shows the Surface driver catalog file emptied by the GitHub Actions bot. Find the workflow that regenerates and commits that file, and check how it writes the output when the driver source returns no data. Done means the workflow refuses to commit an empty or truncated catalog, which the issue suggests adding as validation before the commit step. The thread is six comments old with no recent answer, so confirm the maintainers still want this fix before starting.

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

Descripción

Describe the bug
GitHub Actions bot commit deleted all lines from the Surface driver catalog. The file is currently blank.

To Reproduce
Check the diff here: https://github.com/OSDeploy/OSD/commit/4b3384a37164cbd78450a2611c6f1d65559b328c

Expected behavior
The file should not be empty.

Additional context
This has happened a few times previously, so adding some kind of validation prior to committing the changes could help catch this kind of bug.

Lenguaje dominante
PowerShell
Estrellas
251
Forks
102
Merge medio
2 min
PR fusionados (30 d)
4

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

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 OSDeploy/OSD

Todos los issues de OSDeploy/OSD

Issues similares

Más issues de DevOps

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.