Skip to content

src/publisher

Module summary

Module src/publisher

Exports

NameKindDefault
generatePRBodyfunctionno
handleAutoMergefunctionno
openPRfunctionno
publishFilesfunctionno

Detail

generatePRBody

async generatePRBody({
llmClient,
changedFiles,
sourceCommits,
repoUrl,
dryRun,
}): Promise<unknown>

Params

  • { llmClient, changedFiles, sourceCommits, repoUrl, dryRun, }

Returns

Promise<unknown>

Examples

None.

handleAutoMerge

async handleAutoMerge({
githubClient,
owner,
repo,
pullNumber,
hitlRequired,
dryRun,
logger,
}): Promise<object>

Params

  • { githubClient, owner, repo, pullNumber, hitlRequired, dryRun, logger, }

Returns

Promise<object>

Examples

None.

openPR

async openPR({
githubClient,
owner,
repo,
branch,
title,
body,
logger,
base = 'main',
}): Promise<unknown>

Params

  • { githubClient, owner, repo, branch, title, body, logger, base = 'main', }

Returns

Promise<unknown>

Examples

None.

publishFiles

async publishFiles({
githubClient,
owner,
repo,
files,
commitMessage,
hitlRequired,
dryRun,
logger,
}): Promise<object>

Params

  • { githubClient, owner, repo, files, commitMessage, hitlRequired, dryRun, logger, }

Returns

Promise<object>

Examples

None.