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

Function updatePr

scripts/utils/github.ts:145–154  ·  view source on GitHub ↗
(
  prNumber: number,
  options: { title?: string; body?: string },
)

Source from the content-addressed store, hash-verified

143 * Update an existing PR
144 */
145export async function updatePr(
146 prNumber: number,
147 options: { title?: string; body?: string },
148) {
149 await request("PATCH /repos/{owner}/{repo}/pulls/{pull_number}", {
150 ...requestOptions(),
151 pull_number: prNumber,
152 ...options,
153 });
154}
155
156/**
157 * Close a PR with an optional comment

Callers 1

mainFunction · 0.90

Calls 2

requestOptionsFunction · 0.85
requestFunction · 0.50

Tested by

no test coverage detected