MCPcopy Index your code
hub / github.com/wei/pull / getPRBody

Function getPRBody

src/utils/helpers.ts:19–24  ·  view source on GitHub ↗
(fullName: string, prNumber?: number)

Source from the content-addressed store, hash-verified

17 `[pull] ${ref} from ${upstream}`;
18
19export const getPRBody = (fullName: string, prNumber?: number): string =>
20 (prNumber
21 ? `See [Commits](/${fullName}/pull/${prNumber}/commits) and [Changes](/${fullName}/pull/${prNumber}/files) for more details.`
22 : `See Commits and Changes for more details.`) +
23 `\n\n-----\nCreated by [<img src="https://prod.download/pull-18h-svg" valign="bottom"/> **pull[bot]**](https://github.com/wei/pull) (v${appConfig.version})` +
24 "\n\n_Can you help keep this open source service alive? **[💖 Please sponsor : )](https://prod.download/pull-pr-sponsor)**_";

Callers 2

handleMergeConflictMethod · 0.90
createPRMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected