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

Commit83308df

Browse files
committed
adjust wording of descriptions
1 parentb7ea361 commit83308df

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

‎README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,7 @@ The following sets of tools are available (all are on by default):
589589

590590
<summary>Pull Requests</summary>
591591

592-
-**add_comment_to_pending_review** - Add comment to the requester's latest pending pull request review
592+
-**add_comment_to_pending_review** - Addreviewcomment to the requester's latest pending pull request review
593593
-`body`: The text of the review comment (string, required)
594594
-`line`: The line of the blob in the pull request diff that the comment applies to. For multi-line comments, the last line of the range (number, optional)
595595
-`owner`: Repository owner (string, required)

‎pkg/github/__toolsnaps__/add_comment_to_pending_review.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"annotations": {
3-
"title":"Add comment to the requester's latest pending pull request review",
3+
"title":"Addreviewcomment to the requester's latest pending pull request review",
44
"readOnlyHint":false
55
},
6-
"description":"Addareview comment to the requester's latest pending pull request review, a pending review needs to already exist to call this (check with the user if not sure).",
6+
"description":"Add review comment to the requester's latest pending pull request review. A pending review needs to already exist to call this (check with the user if not sure).",
77
"inputSchema": {
88
"properties": {
99
"body": {

‎pkg/github/pullrequests.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1154,9 +1154,9 @@ func CreatePendingPullRequestReview(getGQLClient GetGQLClientFn, t translations.
11541154
// AddCommentToPendingReview creates a tool to add a comment to a pull request review.
11551155
funcAddCommentToPendingReview(getGQLClientGetGQLClientFn,t translations.TranslationHelperFunc) (mcp.Tool, server.ToolHandlerFunc) {
11561156
returnmcp.NewTool("add_comment_to_pending_review",
1157-
mcp.WithDescription(t("TOOL_ADD_COMMENT_TO_PENDING_REVIEW_DESCRIPTION","Addareview comment to the requester's latest pending pull request review, a pending review needs to already exist to call this (check with the user if not sure).")),
1157+
mcp.WithDescription(t("TOOL_ADD_COMMENT_TO_PENDING_REVIEW_DESCRIPTION","Add review comment to the requester's latest pending pull request review. A pending review needs to already exist to call this (check with the user if not sure).")),
11581158
mcp.WithToolAnnotation(mcp.ToolAnnotation{
1159-
Title:t("TOOL_ADD_COMMENT_TO_PENDING_REVIEW_USER_TITLE","Add comment to the requester's latest pending pull request review"),
1159+
Title:t("TOOL_ADD_COMMENT_TO_PENDING_REVIEW_USER_TITLE","Addreviewcomment to the requester's latest pending pull request review"),
11601160
ReadOnlyHint:ToBoolPtr(false),
11611161
}),
11621162
// Ideally, for performance sake this would just accept the pullRequestReviewID. However, we would need to

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp