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

Updateremove_sub_issue tool to use go-github#856

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

Conversation

tommaso-moro
Copy link
Contributor

Closes:#350

Overview

Now that go-github is on v74, we can use go-github to remove sub issues instead of making raw HTTP requests to the Github API. This PR updates the tool to usego-github

Demo
Screenshot 2025-08-11 at 18 04 24

@tommaso-morotommaso-moro requested a review froma team as acode ownerAugust 11, 2025 17:07
@CopilotCopilotAI review requested due to automatic review settingsAugust 11, 2025 17:07
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 migrates theremove_sub_issue tool from making raw HTTP requests to using the go-github library's native API methods, taking advantage of the recently updated go-github v74 dependency.

  • Replaces manual HTTP request construction withclient.SubIssue.Remove() method call
  • Simplifies error handling by leveraging go-github's built-in response handling
  • Removes manual JSON marshaling of request body and response parsing

@tommaso-morotommaso-moro merged commitcad048b intogithub:mainAug 11, 2025
10 checks passed
nickytonline pushed a commit to nickytonline/github-mcp-http that referenced this pull requestOct 4, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

Copilot code reviewCopilotCopilot left review comments

@LuluBeatsonLuluBeatsonLuluBeatson approved these changes

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

Successfully merging this pull request may close these issues.

2 participants
@tommaso-moro@LuluBeatson

[8]ページ先頭

©2009-2025 Movatter.jp