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

rename tooling#1198

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
tonytrg merged 2 commits intomainfromtonytrg/rename-tools
Oct 9, 2025
Merged

rename tooling#1198

tonytrg merged 2 commits intomainfromtonytrg/rename-tools
Oct 9, 2025

Conversation

tonytrg
Copy link
Contributor

@tonytrgtonytrg commentedOct 9, 2025
edited
Loading

As we namedpull_request_read andpull_request_review_write we are sticking to that format as the read write attribute makes more sense as a suffix for better text search and formatting.

And the label_write tool was accidentally added to issues too.

@tonytrgtonytrg requested a review froma team as acode ownerOctober 9, 2025 16:02
@CopilotCopilotAI review requested due to automatic review settingsOctober 9, 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 renames theWriteLabel function and tool toLabelWrite to improve naming consistency. The change affects both the function name and the tool's identifier.

  • Renamed function fromWriteLabel toLabelWrite
  • Updated tool name from "write_label" to "label_write"
  • Updated all references and documentation accordingly

Reviewed Changes

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

Show a summary per file
FileDescription
pkg/github/tools.goUpdated function calls to use newLabelWrite name
pkg/github/labels_test.goUpdated test function calls and expected tool name
pkg/github/labels.goRenamed function and updated translation keys
pkg/github/toolsnaps/label_write.snapUpdated snapshot with new tool name
README.mdReorganized documentation to reflect new tool name ordering

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

Comment on lines +246 to +248
mcp.WithDescription(t("TOOL_LABEL_WRITE_DESCRIPTION","Perform write operations on repository labels. To set labels on issues, use the 'update_issue' tool.")),
mcp.WithToolAnnotation(mcp.ToolAnnotation{
Title:t("TOOL_WRITE_LABEL_TITLE","Write operations on repository labels."),
Title:t("TOOL_LABEL_WRITE_TITLE","Write operations on repository labels."),
Copy link

CopilotAIOct 9, 2025

Choose a reason for hiding this comment

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

The translation keys have been updated from TOOL_WRITE_LABEL_* to TOOL_LABEL_WRITE_* but there's no evidence that the corresponding translation files have been updated. This could result in missing translations falling back to the default English text.

Copilot uses AI. Check for mistakes.

@tonytrgtonytrg merged commitf9343e6 intomainOct 9, 2025
16 of 17 checks passed
@tonytrgtonytrg deleted the tonytrg/rename-tools branchOctober 9, 2025 16:28
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

Copilot code reviewCopilotCopilot left review comments

@kerobbikerobbikerobbi 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
@tonytrg@kerobbi

[8]ページ先頭

©2009-2025 Movatter.jp