renovate/lib/workers/pr/body/header.ts
2021-03-02 21:44:55 +01:00

10 lines
294 B
TypeScript

import * as template from '../../../util/template';
import type { BranchConfig } from '../../types';
// istanbul ignore next
export function getPrHeader(config: BranchConfig): string {
if (!config.prHeader) {
return '';
}
return template.compile(config.prHeader, config) + '\n\n';
}