Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add PR head content fetch support and documentation clarification#667

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed

Conversation

Copy link
Contributor

CopilotAI commentedJul 11, 2025
edited
Loading

This PR enhances the GitHub MCP Server by:

  1. Adding a new unit test inTest_GetFileContents to validate fetching file contents from a pull request head viaref: refs/pull/{pr_number}/head.
  2. Adding a resource template testTest_GetRepositoryResourcePrContent to verify the PR resource URI follows therepo://{owner}/{repo}/refs/pull/{prNumber}/head/contents{/path*} template.
  3. Clarifying documentation in the README underget_file_contents to include an example of usingrefs/pull/{pr_number}/head for fetching PR content.

These updates address user confusion around PR resource references and the properpath/ref format, ensuring smooth PR context retrieval workflows and improved guidance.


💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Clickhere to start the survey.

🚧 Copilot coding agent is using an experimental model for this task. Please take the time to report feedback with the 👍 or 👎 buttons.

Co-authored-by: IrynaKulakova <52420926+IrynaKulakova@users.noreply.github.com>
CopilotAI changed the title[WIP] docs: Add documentation and examples for Pull Request resources (fixes #652)Add PR head content fetch support and documentation clarificationJul 11, 2025
CopilotAI requested a review fromIrynaKulakovaJuly 11, 2025 14:08
Copilot finished work on behalf ofIrynaKulakovaJuly 11, 2025 14:08
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@IrynaKulakovaIrynaKulakovaAwaiting requested review from IrynaKulakova

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@IrynaKulakova

[8]ページ先頭

©2009-2025 Movatter.jp