[workshop-sync] side-quest-05-03-two-file-structure.md: sample workflow and cron examples don't match documented gh-aw behavior
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 1/5
- 预计耗时
- 1 小时以内
- 新手友好度
- 88/100
- Issue 类型
- 文档
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- github-actions, markdown, yaml
调研方向
打开 workshop/side-quest-05-03-two-file-structure.md。在“Read a sample .md source file”一节中,为 frontmatter 添加一个带有 create-issue 的 safe-outputs 块,使其与 digest 任务保持一致。在“What gh aw compile generates”一节中,将整点的 cron 值 '0 8 * * *' 替换为分散的值,例如 '37 8 * * *'。当两个代码示例都与 issue 中引用的 gh-aw 行为一致,且文件渲染正确时,即完成。
由索引模型根据 Issue 内容生成。
描述
Workshop file reviewed
workshop/side-quest-05-03-two-file-structure.md
Problem 1 — sample .md source is missing safe-outputs
The "Read a sample .md source file" section shows:
---
on:
schedule: daily
permissions:
issues: read
---
Review all open issues, summarize the key themes, and post a short digest as a new issue.
The task brief tells the agent to "post a short digest as a new issue," but the frontmatter has no safe-outputs: block (e.g. create-issue:). Per the gh-aw docs, agent jobs are read-only — all writes (including creating issues) must go through a declared safe-outputs: entry; permissions: issues: read alone cannot create an issue.
Reference: gh-aw reference example pairs the comment/create instruction with a safe-outputs: block, e.g.:
safe-outputs:
create-issue:
Suggested fix: Add a safe-outputs: block to the sample frontmatter, e.g.:
---
on:
schedule: daily
permissions:
issues: read
safe-outputs:
create-issue:
---
Review all open issues, summarize the key themes, and post a short digest as a new issue.
Problem 2 — generated .lock.yml cron example uses a round, non-scattered time
The "What gh aw compile generates" section shows:
on:
schedule:
- cron: "0 8 * * *"
workflow_dispatch:
Per the gh-aw triggers reference: "The compiler converts fuzzy schedules to deterministic cron (e.g., daily on weekdays → 43 5 * * 1-5), scatters execution to avoid load spikes." A round value like 0 8 * * * contradicts this documented scattering behavior and could mislead learners about what gh aw compile actually produces.
Suggested fix: Use a scattered (non-round) example, e.g. cron: "37 8 * * *", consistent with how the compiler actually generates scattered cron values from schedule: daily.
Reference
- gh-aw triggers reference, "Fuzzy Scheduling" section
- gh-aw workflow-file-format guidance on safe-outputs routing for writes
Generated by 🔍 Workshop Sync Check · copilot · auto · 173.7 AIC · ⌖ 0.605 AIC · ⊞ 9.2K · ◷
- expires on Oct 15, 2026, 4:57 AM UTC
- 主要语言
- JavaScript
- 星标
- 53
- 派生
- 35
- 平均合并
- 1 天 5 小时
- 30 天内合并 PR
- 16
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
githubnext/gh-aw-workshop 的其他 Issue
-
curriculum documentation quality
难度 2/5 1-3 小时 新手友好度 78/100
githubnext/gh-aw-workshop#4638 ·
维护者通常 1 天内回复
-
documentation
难度 2/5 1-3 小时 新手友好度 62/100
githubnext/gh-aw-workshop#4635 ·
维护者通常 1 天内回复
-
[guidelines] side-quest-21-01-sub-agent-syntax.md: checklist checkbox count exceeds 10-item limit未关闭documentation guidelines
难度 2/5 1-3 小时 新手友好度 62/100
githubnext/gh-aw-workshop#4409 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
githubnext/gh-aw-workshop#3109 · 11 条评论 ·
维护者通常 1 天内回复
-
accessibility bug
难度 2/5 1-2 天 新手友好度 68/100
githubnext/gh-aw-workshop#2744 · 10 条评论 ·
维护者通常 1 天内回复
查看 githubnext/gh-aw-workshop 的全部 Issue
相似的 Issue
-
[Website] Catalog: unknown sort value and mixed-case technology in the URL break the filters可能已有人在做 @barbierajput378-pixel 今天认领。 未关闭area/website framework/jekyll help wanted language/css language/javascript language/markdown
难度 2/5 1-3 小时 新手友好度 80/100
meshery/meshery.io#3088 · 1 条评论 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 74/100
firecrawl/firecrawl-mcp-server#548 ·
维护者通常 1 天内回复
-
Area:WebGL p5.js 2.0+
难度 2/5 1-3 小时 新手友好度 78/100
processing/p5.js#9302 ·
维护者通常 3 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
documentation good first issue hacktoberfest
难度 2/5 1-3 小时 新手友好度 70/100
wassim-azi/agy-powerline#47 ·
维护者通常 1 天内回复