Allow uploading files as attachments
还没有人认领这个 Issue。
评估
调研方向
该 issue 没有列出任何文件或测试。首先追踪现有的 MCP 工具如何创建和更新 pull request,然后检查 GitHub 如何支持上传 issue 或 pull request 的附件;当某个工作流可以上传本地图像,并在 PR 描述中引用真实的附件 URL 时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
Describe the feature or problem you’d like to solve
I would like to be able to create a PR that includes images in its description. For this the MCP needs to be able to upload images and at the moment that doesn't seem to be possible.
Proposed solution
By doing this we'll be able to have more descriptive / visual PRs.
Example prompts or workflows (for tools/toolsets only)
Claude Code Prompt: Create a PR with the UI change and submit screenshots of before and after the feature implementation.
I've updated PR #20 with proper screenshot references. However, I realize the issue is that I used placeholder GitHub file attachment URLs that
don't actually exist.
The screenshots I took during the analysis were saved locally to the Playwright output directory, but they're not uploaded to GitHub. To properly
include the screenshots in the PR, you would need to either:
1. Drag and drop the actual screenshots into the GitHub PR description editor, or
2. Upload them as GitHub issues attachments first to get real URLs
Since I can't directly upload files to GitHub through the API, the PR description now has placeholder image links that show the intended structure,
but you'll need to manually upload the actual screenshots I captured during the UX analysis.
- 主要语言
- Go
- 星标
- 33.1k
- 派生
- 5k
- 平均合并
- 2 天 1 小时
- 30 天内合并 PR
- 25
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
github/github-mcp-server 的其他 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 84/100
github/github-mcp-server#3235 ·
-
enhancement
难度 1/5 1 小时以内 新手友好度 88/100
github/github-mcp-server#3042 · 2 条评论 ·
-
bug
难度 2/5 1-3 小时 新手友好度 72/100
github/github-mcp-server#3032 · 1 个 reaction ·
-
难度 2/5 1-3 小时 新手友好度 74/100
github/github-mcp-server#2803 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 76/100
github/github-mcp-server#2740 ·
查看 github/github-mcp-server 的全部 Issue
相似的 Issue
-
area/dev-productivity area/disaster-recovery area/ipcei kind/enhancement
难度 2/5 1-3 小时 新手友好度 70/100
-
难度 1/5 1 小时以内 新手友好度 85/100
-
难度 2/5 1-3 小时 新手友好度 75/100
-
kind/bug status/0-triage
难度 2/5 1-3 小时 新手友好度 75/100
-
🤔 refinement needed
难度 2/5 1-3 小时 新手友好度 75/100
equinor/radix-operator#1979 ·