GitHub Actions bot deleted the Surface driver catalog

Aperta
#333 6 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
30/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
github-actions, powershell
Ambito
ci-cd

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
PowerShell
Stelle
251
Fork
102
Merge medio
2m
PR unite (30g)
4

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di OSDeploy/OSD

Tutte le issue di OSDeploy/OSD

Issue simili

Altre issue su DevOps

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.