Skip to content

Commit f5c918b

Browse files
committed
Merge branch 'rosstarrant/add-discussion-comment-write-ops' of github.com:github/github-mcp-server into rosstarrant/add-discussion-comment-write-ops
2 parents 91b179b + 1a75379 commit f5c918b

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

pkg/github/discussions.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -608,8 +608,8 @@ Options are:
608608
- 'reply' - replies to a top-level discussion comment (GitHub Discussions only support one level of nesting).
609609
- 'update' - updates an existing discussion comment.
610610
- 'delete' - deletes a discussion comment.
611-
- 'mark_answer' - marks a discussion comment as the answer.
612-
- 'unmark_answer' - unmarks a discussion comment as the answer.
611+
- 'mark_answer' - marks a discussion comment as the answer (Q&A only).
612+
- 'unmark_answer' - unmarks a discussion comment as the answer (Q&A only).
613613
`,
614614
Enum: []any{"add", "reply", "update", "delete", "mark_answer", "unmark_answer"},
615615
},

pkg/github/discussions_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -950,7 +950,6 @@ func Test_DiscussionCommentWrite(t *testing.T) {
950950
assert.Contains(t, schema.Properties, "discussionNumber")
951951
assert.Contains(t, schema.Properties, "body")
952952
assert.Contains(t, schema.Properties, "commentNodeID")
953-
assert.NotContains(t, schema.Properties, "replyToCommentNodeID")
954953
assert.ElementsMatch(t, schema.Required, []string{"method"})
955954

956955
runDiscussionCommentWriteTests(t, []discussionCommentWriteTestCase{

0 commit comments

Comments
 (0)