MCPcopy Create free account
hub / github.com/remix-run/react-router / getPrComments

Function getPrComments

scripts/utils/github.ts:178–188  ·  view source on GitHub ↗
(prNumber: number)

Source from the content-addressed store, hash-verified

176 * Get all comments on a PR
177 */
178export async function getPrComments(prNumber: number) {
179 let response = await request(
180 "GET /repos/{owner}/{repo}/issues/{issue_number}/comments",
181 {
182 ...requestOptions(),
183 issue_number: prNumber,
184 },
185 );
186
187 return response.data;
188}
189
190/**
191 * Create a comment on a PR

Callers 2

runActionsFunction · 0.90
commentFunction · 0.90

Calls 2

requestOptionsFunction · 0.85
requestFunction · 0.50

Tested by

no test coverage detected