Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update includeReplies description to specify GitHub API maximum repli…
…es limit
  • Loading branch information
RossTarrant committed May 5, 2026
commit cbd22dd93548ef3c1c80cac92201a28009f71dbb
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -752,7 +752,7 @@ The following sets of tools are available:
- **Required OAuth Scopes**: `repo`
- `after`: Cursor for pagination. Use the endCursor from the previous page's PageInfo for GraphQL APIs. (string, optional)
- `discussionNumber`: Discussion Number (number, required)
- `includeReplies`: When true, each top-level comment will include its replies nested within it. Defaults to false. (boolean, optional)
- `includeReplies`: When true, each top-level comment will include its replies nested within it (up to 100 replies per comment, which is the GitHub API maximum). Defaults to false. (boolean, optional)
- `owner`: Repository owner (string, required)
- `perPage`: Results per page for pagination (min 1, max 100) (number, optional)
- `repo`: Repository name (string, required)
Expand Down
2 changes: 1 addition & 1 deletion pkg/github/__toolsnaps__/get_discussion_comments.snap
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"type": "number"
},
"includeReplies": {
"description": "When true, each top-level comment will include its replies nested within it. Defaults to false.",
"description": "When true, each top-level comment will include its replies nested within it (up to 100 replies per comment, which is the GitHub API maximum). Defaults to false.",
"type": "boolean"
},
"owner": {
Expand Down
2 changes: 1 addition & 1 deletion pkg/github/discussions.go
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ func GetDiscussionComments(t translations.TranslationHelperFunc) inventory.Serve
},
"includeReplies": {
Type: "boolean",
Description: "When true, each top-level comment will include its replies nested within it. Defaults to false.",
Description: "When true, each top-level comment will include its replies nested within it (up to 100 replies per comment, which is the GitHub API maximum). Defaults to false.",
},
},
Required: []string{"owner", "repo", "discussionNumber"},
Expand Down
Loading