mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-15 09:06:25 +00:00
10 lines
294 B
TypeScript
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';
|
|
}
|