MCPcopy Create free account
hub / github.com/cli/cli / pull

Function pull

evals/src/review-loop.test.ts:21–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19 let greeting: string = proposedGreeting;
20 const reviews: Array<{ id: number; state: string; commit_id: string; body: string }> = [];
21 const pull = () => ({
22 number: 1, html_url: prUrl, state: "open", merged: false, mergeable: true, merge_commit_sha: null,
23 head: { sha: head, ref: "improve-greeting" }, base: { ref: "main" },
24 });
25 const fixture: Fixture = { scenario, repo: "sandbox/run", workDir: "/unused", baseSha: "base", initialHead: head, pr: pull() };
26 const github = new EventsGitHub("test-only", async (input, init) => {
27 const url = new URL(String(input));

Callers 1

rigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected