Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

Feature request: batch-fetch merged PR metadata for release notes / changelog generation

未關閉
#2,302 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

@rodboev 已經在處理了。

開始於 2026年6月15日。

  • #2687 來自 @rodboev —— 未關閉

評估

難度
4/5
預估耗時
3-5 天
新手友好度
48/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
冷清
技術堆疊
go
領域
api

研究方向

先閱讀現有的 search_pull_requests 和 list_pull_requests 工具,以及儲存庫的測試與文件慣例。定義有界的 pull_numbers 輸入、針對缺少的請求或未合併請求的逐 PR 處理方式,以及正規化的中繼資料回應。在不加入 diff 彙總或 release 推論的情況下,測試與文件涵蓋約定的 v1 行為,即視為完成。

由索引模型根據 Issue 內容生成。

描述

enhancement request ai review
Problem

For a release window, teams often have a known list of merged PR numbers. Building a structured changelog today requires opening each PR or scripting against REST/GraphQL outside MCP. Agents would benefit from one MCP call that returns normalized metadata for many PRs.

Proposed solution (v1)

Add a tool that accepts:

  • owner, repo
  • pull_numbers: array of integers (bounded)

Returns (exact fields up to maintainers), per PR, for example:

  • number, title, html_url
  • merged_at, merge_commit_sha (when available)
  • labels (at least name)
  • author login

Output: JSON suitable for templating Markdown release notes in the client (prose stays in the agent or human editor).

Explicit non-goals (v1):

  • Full combined diff across PRs (too heavy); linking to each PR is enough.
  • Guessing “what shipped in this release” without an explicit PR list—the caller provides the list.
Why this matters
  • Release engineering + agents: “Here are the PRs we shipped” → one call → table/sections for notes, Slack, or tickets.
  • Composes with search_pull_requests / list_pull_requests: caller selects PRs, tool hydrates details.
Relationship to existing requests
  • Create/update releases (#1909) addresses publishing a release after notes exist; this request is read-side batch hydration of PR metadata to produce those notes.
Related issues
Acceptance criteria (suggestion)
  • Bounded input; documented max PR count.
  • Clear behavior for non-merged or missing PRs (per-PR errors vs fail-all—documented).
  • Tests + docs per repo conventions.
Note

We are happy to prototype a PR if maintainers agree on v1 scope.

主要語言
Go
星號
33.3k
分支
5.1k
平均合併
22 小時 46 分鐘
30 天內合併 PR
17

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

github/github-mcp-server 的其他 Issue

查看 github/github-mcp-server 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。