[workshop-sync] workshop/side-quest-16-03-token-exfiltration.md: broken overview anchor and misleading read-only example

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

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

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

调研方向

从 workshop/side-quest-16-03-token-exfiltration.md 开始,将其概览链接与 docs/src/content/docs/introduction/overview.mdx 中的标题进行比较。将锚点更新为 #what-is-an-agentic-workflow,并让只读示例准确演示只读的 permissions:,且不包含 safe-outputs:。当链接能够正确解析,并且周围的文本不再将该代码片段标注为省略 safe-outputs: 的示例时,即完成更改。

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

描述

documentation

Workshop file reviewed

workshop/side-quest-16-03-token-exfiltration.md (gh-aw release v1.2.2)

Problems

  1. Broken anchor. The file links to:

https://github.github.com/gh-aw/introduction/overview/#what-are-agentic-workflows

The current docs/src/content/docs/introduction/overview.mdx has no such heading. Its headings are "What is an agentic workflow?", "Coding agents, running with tools, in GitHub Actions" and "Learn More". The generated anchor would be #what-is-an-agentic-workflow.

  1. Misleading example. Under "safe-outputs removes unintended write surfaces" the file says the frontmatter below "keeps the workflow read-only", but the snippet contains only permissions: and no safe-outputs key:
permissions:
  contents: read
  issues: read

It is therefore not an example of omitting safe-outputs.

Suggested fix

  • Change the link to https://github.github.com/gh-aw/introduction/overview/ (or #what-is-an-agentic-workflow).
  • Reword the example so it shows a workflow with read-only permissions: and no safe-outputs: block. Alternatively, show a narrow safe-outputs: block, such as create-issue: max: 1, with a note that other outputs are absent.

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

  • expires on Nov 30, 2026, 7:02 AM UTC
主要语言
JavaScript
星标
61
派生
45
平均合并
11 小时 50 分钟
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 摘要。