[workshop-sync] workshop/28-orchestrate-workflows.md: dispatch-workflow example fails to compile — pr-reviewer lacks workflow_dispatch trigger
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 68/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- github-actions
- Lĩnh vực
- documentation
Hướng nghiên cứu
Bắt đầu từ khối on: của ví dụ pr-reviewer trong workshop/14b-pr-reviewer-workflow.md và bước dispatch-workflow trong workshop/28-orchestrate-workflows.md. Tái hiện lỗi bằng cách biên dịch orchestrator với gh aw compile; lệnh này sẽ báo rằng pr-reviewer thiếu workflow_dispatch. Chọn một trong ba cách sửa trong issue, sau đó biên dịch lại. Hoàn thành khi khẳng định thành công của checkpoint là đúng và nội dung mô tả khớp với hành vi sau khi biên dịch.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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:
- Add a note/step in
28-orchestrate-workflows.mdinstructing learners to addworkflow_dispatch:topr-reviewer'son:section (alongside its existing triggers) before using it as a dispatch target, or - Update
workshop/14b-pr-reviewer-workflow.mdto includeworkflow_dispatch:in theon:block from the start so it is dispatch-ready for step 28, or - 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
- Ngôn ngữ chính
- JavaScript
- Star
- 53
- Fork
- 35
- Merge trung bình
- 13 giờ 50 phút
- Pull request đã merge (30 ngày)
- 14
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của githubnext/gh-aw-workshop
-
[curriculum-eval] 04-github-actions-intro.md: cognitive_load — 28 new concepts in a 5-minute introĐang mởcurriculum documentation quality
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
githubnext/gh-aw-workshop#4603 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
curriculum documentation quality
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
githubnext/gh-aw-workshop#4601 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
curriculum documentation quality
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
githubnext/gh-aw-workshop#4578 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
githubnext/gh-aw-workshop#4577 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[guidelines] side-quest-21-01-sub-agent-syntax.md: checklist checkbox count exceeds 10-item limitĐang mởdocumentation guidelines
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
githubnext/gh-aw-workshop#4409 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của githubnext/gh-aw-workshop
Issue tương tự
-
documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
andromarces/agent-loops#886 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug effort:low model:light plan planner:gpt-6-1-sol tests
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
B: visual
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
FreeTubeApp/FreeTube#9929 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
🐛 Bug: `--clear-screen` not very useful (at least not for dealing with large test/error output)Đang mởstatus: in triage type: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
mochajs/mocha#6428 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Fixed-position outer <svg> lands outside a clip after scroll; fixed HTML boxes are re-anchoredĐang mở🔧 in development
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100