0
0
Fork 0
mirror of https://github.com/renovatebot/renovate.git synced 2025-01-27 05:09:37 +00:00
renovatebot_renovate/lib/workers/repository/config-migration/common.ts
Gabriel-Ladzaretti dd3598c5b8
feat(config/migration): migrate config with a PR (#15122)
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>
2022-06-18 12:12:31 +00:00

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);
}