in scan/src/utils.ts [678:709]
async function createPr(
title: string,
repo: string,
base: string,
head: string
): Promise<void> {
const prBodyFile = path.join(os.tmpdir(), 'pr-body.txt')
fs.writeFileSync(prBodyFile, prFixesBody(getWorkflowRunUrl()))
await exec.getExecOutput(
'gh',
[
'pr',
'create',
'--repo',
repo,
'--title',
title,
'--body-file',
prBodyFile,
'--base',
base,
'--head',
head
],
{
env: {
...process.env,
GH_TOKEN: getInputs().githubToken
}
}
)
}