mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-27 05:09:37 +00:00
dd3598c5b8
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com> Co-authored-by: Michael Kriese <michael.kriese@visualon.de> Co-authored-by: Rhys Arkins <rhys@arkins.net>
8 lines
318 B
TypeScript
8 lines
318 B
TypeScript
import type { RenovateConfig } from '../../../config/types';
|
|
import * as template from '../../../util/template';
|
|
|
|
const migrationBranchTemplate = '{{{branchPrefix}}}migrate-config';
|
|
|
|
export function getMigrationBranchName(config: RenovateConfig): string {
|
|
return template.compile(migrationBranchTemplate, config);
|
|
}
|