You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 09c15a1
Browse filesBrowse the repository at this point in the historyBrowse files
Keep the original enum guidance in input descriptions while preserving actual JSON Schema enum constraints.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
"pullNumber": {Type: "number", Description: "The pull request number", Minimum: new(1.0)},
365
365
"body": {Type: "string", Description: "The review body text (optional)"},
366
-
"event": {Type: "string", Description: "The review action to perform. If omitted, creates a pending review.", Enum: GranularPullRequestReviewEvent("").JSONSchema().Enum},
366
+
"event": {Type: "string", Description: "The review action to perform (APPROVE, REQUEST_CHANGES, or COMMENT). If omitted, creates a pending review.", Enum: GranularPullRequestReviewEvent("").JSONSchema().Enum},
367
367
"commitID": {Type: "string", Description: "The SHA of the commit to review (optional, defaults to latest)"},
"pullNumber": {Type: "number", Description: "The pull request number", Minimum: new(1.0)},
422
-
"event": {Type: "string", Description: "The review action to perform", Enum: GranularPullRequestReviewEvent("").JSONSchema().Enum},
422
+
"event": {Type: "string", Description: "The review action to perform (APPROVE, REQUEST_CHANGES, or COMMENT)", Enum: GranularPullRequestReviewEvent("").JSONSchema().Enum},
423
423
"body": {Type: "string", Description: "The review body text (optional)"},
@@ -515,11 +515,11 @@ func GranularAddPullRequestReviewComment(t translations.TranslationHelperFunc) i
515
515
"pullNumber": {Type: "number", Description: "The pull request number", Minimum: new(1.0)},
516
516
"path": {Type: "string", Description: "The relative path of the file to comment on"},
517
517
"body": {Type: "string", Description: "The comment body"},
518
-
"subjectType": {Type: "string", Description: "The subject type of the comment", Enum: GranularPullRequestCommentSubject("").JSONSchema().Enum},
518
+
"subjectType": {Type: "string", Description: "The subject type of the comment (FILE or LINE)", Enum: GranularPullRequestCommentSubject("").JSONSchema().Enum},
519
519
"line": {Type: "number", Description: "The line number in the diff to comment on (optional)"},
520
-
"side": {Type: "string", Description: "The side of the diff to comment on (optional)", Enum: GranularPullRequestDiffSide("").JSONSchema().Enum},
520
+
"side": {Type: "string", Description: "The side of the diff to comment on (LEFT or RIGHT, optional)", Enum: GranularPullRequestDiffSide("").JSONSchema().Enum},
521
521
"startLine": {Type: "number", Description: "The start line of a multi-line comment (optional)"},
522
-
"startSide": {Type: "string", Description: "The start side of a multi-line comment (optional)", Enum: GranularPullRequestDiffSide("").JSONSchema().Enum},
522
+
"startSide": {Type: "string", Description: "The start side of a multi-line comment (LEFT or RIGHT, optional)", Enum: GranularPullRequestDiffSide("").JSONSchema().Enum},
0 commit comments