[workshop-sync] workshop/side-quest-13-04-token-optimization.md: broken doc anchors for guardrails and workflow_dispatch

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

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

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

调研方向

打开 workshop/side-quest-13-04-token-optimization.md,找到 issue 中列出的三个深层链接。将两个 AI 额度护栏链接改指向 https://github.github.com/gh-aw/reference/frontmatter/,锚点分别为 #ai-credits-guardrail-max-ai-credits 和 #daily-per-workflow-ai-credits-guardrail-max-daily-ai-credits,并将 dispatch 锚点改为 #dispatch-triggers-workflow_dispatch(下划线)。当每个链接在浏览器中打开后都能跳转到现有标题时即完成;其他文件不在范围内,因为 side-quest-15-02-chaining-conditions.md 中的 dispatch 拼写错误有其自己的 issue。

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

描述

documentation

Workshop file reviewed

workshop/side-quest-13-04-token-optimization.md (gh-aw release v1.2.2)

Problem

Several deep links point at anchors that do not exist on the live docs:

  • https://github.github.com/gh-aw/reference/triggers/#ai-credits-guardrail-max-ai-credits (the max-ai-credits link)
  • https://github.github.com/gh-aw/reference/triggers/#daily-per-workflow-ai-credits-guardrail-max-daily-ai-credits (the max-daily-ai-credits link)
  • https://github.github.com/gh-aw/reference/triggers/#dispatch-triggers-workflowdispatch

Current correct targets

Checked against the published pages:

  • Both AI-credits guardrail anchors exist on https://github.github.com/gh-aw/reference/frontmatter/, not on triggers: #ai-credits-guardrail-max-ai-credits and #daily-per-workflow-ai-credits-guardrail-max-daily-ai-credits. reference/cost-management/ also has #cap-ai-credits-per-run and #cap-daily-ai-credits-per-workflow.
  • The workflow_dispatch anchor on the triggers page is #dispatch-triggers-workflow_dispatch (with the underscore).

Suggested fix

Repoint the two guardrail links to reference/frontmatter/ (or the cost-management anchors above) and fix the dispatch anchor to #dispatch-triggers-workflow_dispatch. The same dispatch anchor typo also appears in side-quest-15-02-chaining-conditions.md, which has its own issue.

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

  • expires on Nov 22, 2026, 2:03 AM UTC
主要语言
JavaScript
星标
61
派生
43
平均合并
10 小时 38 分钟
30 天内合并 PR
12

环境准备

在 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 摘要。