Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

[workshop-sync] workshop/28-orchestrate-workflows.md: dispatch-workflow example fails to compile — pr-reviewer lacks workflow_dispatch trigger

Cerrado Apto para principiantes
#4,548 0 comentarios 0 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
68/100
Tipo de issue
Documentación
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
github-actions

Línea de trabajo

Empieza por el bloque on: del ejemplo pr-reviewer en workshop/14b-pr-reviewer-workflow.md y por el paso dispatch-workflow en workshop/28-orchestrate-workflows.md. Reproduce el fallo compilando el orquestador con gh aw compile, que debería informar de que a pr-reviewer le falta workflow_dispatch. Elige una de las tres soluciones del issue y luego vuelve a compilar. Está terminado cuando la afirmación de éxito del checkpoint es verdadera y el texto coincide con el comportamiento compilado.

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

Descripción

documentation

Workshop file reviewed

workshop/28-orchestrate-workflows.md

Problem

The step instructs learners to build a repo-orchestrator workflow that dispatches the pr-reviewer workflow (built in workshop/14b-pr-reviewer-workflow.md) via the dispatch-workflow safe-output:

safe-outputs:\n dispatch-workflow:\n workflows:\n - daily-status\n - pr-reviewer\n max: 1

The pr-reviewer workflow from step 14b only declares pull_request and slash_command triggers — it has no workflow_dispatch trigger.

Current correct behaviour (verified by reproduction)

I reproduced this locally with gh aw compile (v0.89.21, matching the latest gh-aw release). Compiling an orchestrator that lists a dispatch target without workflow_dispatch in its on: section fails with:

error: dispatch-workflow validation failed: dispatch-workflow: workflow 'pr-reviewer' does not support workflow_dispatch trigger (must include 'workflow_dispatch' in the 'on' section)

This means following the workshop step exactly as written — using the existing pr-reviewer workflow from step 14b as a dispatch target — produces a compile error, not the success state the checkpoint describes ("gh aw compile repo-orchestrator succeeds").

Suggested fix

Either:

  1. Add a note/step in 28-orchestrate-workflows.md instructing learners to add workflow_dispatch: to pr-reviewer's on: section (alongside its existing triggers) before using it as a dispatch target, or
  2. Update workshop/14b-pr-reviewer-workflow.md to include workflow_dispatch: in the on: block from the start so it is dispatch-ready for step 28, or
  3. Use a different pre-built workshop workflow as the dispatch target example that already supports workflow_dispatch.

Reference: gh aw compile-time validation for dispatch-workflow (confirmed via direct reproduction against the installed v0.89.21 CLI).

Generated by 🔍 Workshop Sync Check · copilot · auto · 217.4 AIC · ⌖ 6.44 AIC · ⊞ 9.2K · ◷

  • expires on Oct 14, 2026, 2:56 PM UTC
Lenguaje dominante
JavaScript
Estrellas
53
Forks
35
Merge medio
1 d 6 h
PR fusionados (30 d)
15

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

  • Sin Dockerfile ni archivo de Docker Compose
  • Sin plantilla de pull request
  • Sin guía de contribución

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 githubnext/gh-aw-workshop

Todos los issues de githubnext/gh-aw-workshop

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.