[workshop-sync] workshop/side-quest-11-02-yaml-frontmatter.md: `emoji: :bar_chart:` is invalid YAML

已关闭 适合新手
#5,368 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 3 天内回复

还没有人认领这个 Issue。

评估

难度
1/5
预计耗时
1 小时以内
新手友好度
88/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
yaml
领域
documentation

调研方向

打开workshop/side-quest-11-02-yaml-frontmatter.md,检查第78行和第90行。对照链接的gh-aw frontmatter参考文档确认emoji语法,然后更新两个示例,使其使用单个表情符号字符。完成标准是两个示例都显示有效的YAML,并且issue指出确切的文件和修改内容。

由索引模型根据 Issue 内容生成。

描述

documentation

Workshop file reviewed

workshop/side-quest-11-02-yaml-frontmatter.md

Problem

Lines 78 and 90 (both the ❌ and ✅ examples) use:

emoji: :bar_chart:

An unquoted value starting with : and ending with : is a YAML parse error (verified with a YAML parser: "mapping values are not allowed here"). The page is about avoiding YAML errors, so the "correct" example is itself broken.

Current correct syntax

emoji: takes a single emoji character, e.g. emoji: 📊 (see gh-aw frontmatter reference: https://github.github.com/gh-aw/reference/frontmatter/).

Suggested fix

Replace :bar_chart: with 📊 on lines 78 and 90.

Reviewed in the same run with no issues: workshop/side-quest-11-01b-workflow-structure.md, workshop/side-quest-11-03-better-prompts.md. gh-aw release: v1.0.1.

Generated by 🔍 Workshop Sync Check · copilot · auto · ~52 AIC · ⌖ ~1 AIC · ⊞ 4.7K · ◷

  • expires on Nov 6, 2026, 12:04 PM UTC
主要语言
JavaScript
星标
58
派生
40
平均合并
4 天 4 小时
30 天内合并 PR
8

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

githubnext/gh-aw-workshop 的其他 Issue

查看 githubnext/gh-aw-workshop 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。