MCPcopy Create free account
hub / github.com/dmno-dev/bumpy / detectPrBranch

Function detectPrBranch

packages/bumpy/src/commands/ci.ts:1765–1771  ·  view source on GitHub ↗
(rootDir: string)

Source from the content-addressed store, hash-verified

1763 cwd: rootDir,
1764 });
1765
1766 // Take the first result if multiple
1767 const commentId = existingComment?.split('\n')[0]?.trim();
1768
1769 if (commentId) {
1770 await runArgsAsync(
1771 ['gh', 'api', `repos/{owner}/{repo}/issues/comments/${commentId}`, '-X', 'PATCH', '-F', 'body=@-'],
1772 { cwd: rootDir, input: markedBody },
1773 );
1774 log.dim(' Updated PR comment');

Callers 1

ciCheckCommandFunction · 0.85

Calls 1

tryRunArgsFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…