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 support for the update_issue tool#32

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
juruen merged 1 commit intomainfromjuruen/update-issue-tool
Mar 24, 2025

Conversation

juruen
Copy link
Collaborator

Context

This PR adds support for theupdate_issue tool.

Screenshot 2025-03-22 at 07 37 06
Screenshot 2025-03-22 at 07 37 17

@CopilotCopilotAI review requested due to automatic review settingsMarch 24, 2025 07:05
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 support for an update_issue tool for modifying issues in a GitHub repository.

  • Introduces the updateIssue function in pkg/github/issues.go.
  • Adds test coverage for the update_issue tool in pkg/github/issues_test.go.
  • Updates README.md with relevant tool documentation.
  • Registers the update_issue tool in pkg/github/server.go.

Reviewed Changes

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

FileDescription
pkg/github/issues.goAdds the updateIssue tool with parameters for issue updates.
pkg/github/issues_test.goProvides tests to validate the updateIssue tool behavior.
README.mdDocuments the new update_issue tool and its parameters.
pkg/github/server.goRegisters the update_issue tool (and unintentionally duplicates createIssue).
Comments suppressed due to low confidence (1)

pkg/github/server.go:43

  • Duplicate registration of the createIssue tool is observed which may lead to unintended behavior. Removing the redundant call should resolve this issue.
s.AddTool(createIssue(client, t))

Tip: Copilot code review supports C#, Go, Java, JavaScript, Markdown, Python, Ruby and TypeScript, with more languages coming soon.Learn more

@juruenjuruenforce-pushed thejuruen/update-issue-tool branch from8e033fd to5f5a0a5CompareMarch 24, 2025 07:13
@juruenjuruen merged commitfaa2366 intomainMar 24, 2025
4 checks passed
@juruenjuruen deleted the juruen/update-issue-tool branchMarch 24, 2025 12:25
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

Copilot code reviewCopilotCopilot left review comments

@SamMorrowDrumsSamMorrowDrumsSamMorrowDrums 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
@juruen@SamMorrowDrums

[8]ページ先頭

©2009-2025 Movatter.jp