full-day workshop: Correct the CI workflow triggers and first-run verification
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 76/100
- Tipo di issue
- Documentazione
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- github-actions
- Ambito
- ci-cd, documentation
Direzione di ricerca
Inizia da content/full-day/4-testing.md e confronta le relative spiegazioni dei trigger con .github/workflows/server-test.yml. Verifica il flusso della prima esecuzione in un repository template vuoto, incluse le modifiche al workflow, le modifiche al server, le pull request e l'esecuzione su richiesta. Il lavoro è completato quando gli eventi documentati e i passaggi di verifica corrispondono alle esecuzioni osservate di GitHub Actions.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Problem
content/full-day/4-testing.md describes merge as a GitHub Actions event, but there is no merge workflow event; a merge to main is normally handled as a push. Learners are also told to request an on-demand trigger, while the example omits workflow_dispatch.
The example restricts both push and pull_request to app/server/**. The first commit adds only .github/workflows/server-test.yml, so the text's claim that this push triggers the workflow is false: the path filter prevents that first run. Learners can reach the Actions page with no run to inspect.
Suggested change
Teach the actual event semantics and provide an example whose triggers support every verification step in the exercise.
Acceptance criteria
-
mergeis removed as an event name and explained as a push to the target branch. - The example includes
workflow_dispatchwhen on-demand execution is required. - Adding or changing the workflow itself triggers a run, or learners are explicitly told to dispatch it manually.
- Server changes still trigger push and pull-request runs.
- The exact first-run flow is tested in a fresh template repository.
Related: #236 separately tracks the pytest/unittest inconsistency.
- Lingua principale
- Python
- Stelle
- 80
- Fork
- 161
- Merge medio
- 31m
- PR unite (30g)
- 1
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di github-samples/pets-workshop
-
priority: P0
Difficoltà 2/5 1-2 giorni Idoneità per principianti 78/100
github-samples/pets-workshop#268 · 1 commento ·
-
priority: P0
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100
github-samples/pets-workshop#267 · 1 commento ·
-
priority: P1
Difficoltà 1/5 1-3 ore Idoneità per principianti 92/100
github-samples/pets-workshop#261 · 1 commento ·
-
priority: P1
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
github-samples/pets-workshop#257 · 1 commento ·
-
priority: deferred
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
github-samples/pets-workshop#278 · 1 commento ·
Tutte le issue di github-samples/pets-workshop
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
zostera/django-bootstrap4#894 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
use-agent-os/agent-os#3276 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
zephyrproject-rtos/zephyr#119726 ·
-
area/auth bug comp/agent P3 platform/discord type/security
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
NousResearch/hermes-agent#117848 ·