Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[workshop-sync] workshop/17-add-mcp-tools.md: missing safe-outputs create-issue block for issue-posting example

クローズ 初心者向け
#3,926 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
88/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
github, markdown
領域
documentation

調査の方向性

workshop/17-add-mcp-tools.md から始め、その例を workshop/07-your-first-workflow.md の safe-outputs パターンおよびリンクされた Frontmatter の参照と比較します。例の Frontmatter と対応する /agentic-workflows prompt の両方を更新して create-issue ブロックが存在するようにし、その後、task brief の issue の投稿手順が示されている設定と一致していることを確認します。

索引モデルが issue の本文から書いたものです。

説明

documentation

Workshop file reviewed

workshop/17-add-mcp-tools.md

Problem

The task brief the workshop tells learners to send to Copilot CLI explicitly asks the agent to write a GitHub issue:

/agentic-workflows update .github/workflows/daily-status.md to add a tools:block ... and update the task brief to tell the agent to use GitHub tools to fetch the last 5 commits and all open issues labelledbug, then write a daily summary and post it as a new issue.

And later:

Post the summary as a new issue titled "Daily Status — {today's date}".

However, the example frontmatter shown in the file only includes:

permissions:
  contents: read
tools:
  github:
    mode: gh-proxy
    toolsets: [default]

There is no safe-outputs: create-issue: block. Per gh-aw's frontmatter reference, write permissions are not allowed on the job token — agents must use safe-outputs for any write operation such as creating an issue. Without a safe-outputs.create-issue entry, the workflow shown has no permitted mechanism to actually post the issue the task brief asks for, so following the file as written would either fail at runtime or silently produce no issue.

Current correct syntax

The gh-aw reference docs (and the workshop's own step 07, workshop/07-your-first-workflow.md) show the correct pattern: pair tools.github.mode: gh-proxy with a safe-outputs.create-issue: block, e.g.:

permissions:
  contents: read
tools:
  github:
    mode: gh-proxy
    toolsets: [default]
safe-outputs:
  create-issue:

See Frontmatter Reference and Safe Outputs Reference: "Write permissions are not allowed for security reasons; use safe-outputs for write operations instead."

Suggested fix

Add a safe-outputs:\n create-issue: block to both the example tools: frontmatter shown in "Add an MCP server to your workflow" and the corresponding /agentic-workflows prompt text, so the example matches what's actually required to post a new issue, consistent with the pattern already used in workshop/07-your-first-workflow.md.

Generated by 🔍 Workshop Sync Check · copilot · auto · 153.2 AIC · ⌖ 7.13 AIC · ⊞ 8.2K · ◷

  • expires on Sep 29, 2026, 5:07 AM UTC
主要言語
JavaScript
スター
49
フォーク
20
平均マージ
9時間 44分
マージ済み PR(30日)
25

環境構築

このプロジェクトの環境構築ファイルはまだ確認していません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

githubnext/gh-aw-workshop のほかの issue

githubnext/gh-aw-workshop の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。