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 tools for Projects V2#1114

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

Merged
JoannaaKL merged 7 commits intomainfromadd-get-project-tool
Sep 26, 2025
Merged

Add tools for Projects V2#1114

JoannaaKL merged 7 commits intomainfromadd-get-project-tool
Sep 26, 2025

Conversation

JoannaaKL
Copy link
Contributor

@JoannaaKLJoannaaKL commentedSep 22, 2025
edited
Loading

This pr:

  1. Removes (for now) pagination forlist_projects tool
  2. Adds tools:
  • get_project tool for user and org
  • list_project_fields tool for user and org

Implements#44

Implements new projects V2 API. FYI implementation of project tools will use google/go-github when they implement the new API.
Pagination will be added in the next step.

@JoannaaKLJoannaaKL marked this pull request as ready for reviewSeptember 22, 2025 16:02
@JoannaaKLJoannaaKL requested a review froma team as acode ownerSeptember 22, 2025 16:02
@CopilotCopilotAI review requested due to automatic review settingsSeptember 22, 2025 16:02
Copy link
Contributor

@CopilotCopilotAI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Pull Request Overview

This PR adds a newget_project tool to retrieve a specific project by number and removes pagination parameters from the existinglist_projects tool.

  • ImplementsGetProject function to fetch a single project by number for users or organizations
  • Removesbefore andafter pagination parameters fromListProjects tool
  • Updates documentation and tests to reflect these changes

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
FileDescription
pkg/github/tools.goRegisters the new GetProject tool in the projects toolset
pkg/github/projects.goImplements GetProject function and removes pagination from ListProjects
pkg/github/projects_test.goAdds comprehensive tests for GetProject and updates ListProjects tests
pkg/github/toolsnaps/list_projects.snapUpdates tool snapshot without pagination parameters
pkg/github/toolsnaps/get_project.snapNew tool snapshot for GetProject
README.mdUpdates documentation to include GetProject and remove pagination from ListProjects

Tip: Customize your code reviews with copilot-instructions.md.Create the file orlearn how to get started.

@JoannaaKLJoannaaKL changed the titleAdd get_project toolAdd tools for Projects V2Sep 25, 2025
"readOnlyHint":true
},
"description":"List Projects fora user ororganization",
"description":"List Projects foran user ororg",
Copy link
Contributor

@MattBabbageMattBabbageSep 26, 2025
edited
Loading

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

it would be 'a user or organisation' 🫢

JoannaaKL reacted with thumbs up emoji
Copy link
Contributor

@MattBabbageMattBabbage left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

LGTM!

@JoannaaKLJoannaaKL merged commitabf7c47 intomainSep 26, 2025
16 checks passed
@JoannaaKLJoannaaKL deleted the add-get-project-tool branchSeptember 26, 2025 09:36
nickytonline pushed a commit to nickytonline/github-mcp-http that referenced this pull requestOct 4, 2025
* Add get_project tool* Remove pagination for now* Fix url formatting* Minor tweaks* Add list project fields tool* Wording
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

Copilot code reviewCopilotCopilot left review comments

@MattBabbageMattBabbageMattBabbage approved these changes

@tonytrgtonytrgAwaiting requested review from tonytrg

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@JoannaaKL@tonytrg@MattBabbage

[8]ページ先頭

©2009-2025 Movatter.jp