Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Chiusa Adatta ai principianti
#3,926 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
88/100
Tipo di issue
Documentazione
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
github, markdown
Ambito
documentation

Direzione di ricerca

Inizia da workshop/17-add-mcp-tools.md e confronta il relativo esempio con il pattern safe-outputs in workshop/07-your-first-workflow.md e con i riferimenti Frontmatter collegati. Aggiorna sia il Frontmatter dell’esempio sia il prompt /agentic-workflows corrispondente in modo che sia presente il blocco create-issue, quindi verifica che le istruzioni del brief dell’attività per pubblicare l’issue corrispondano alla configurazione mostrata.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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
Lingua principale
JavaScript
Stelle
49
Fork
20
Merge medio
7h 12m
PR unite (30g)
26

Preparare l'ambiente

Non abbiamo ancora controllato i file di configurazione di questo progetto. Parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di githubnext/gh-aw-workshop

Tutte le issue di githubnext/gh-aw-workshop

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.