chore(NA): setup backport tool for 7.9 and the new 7.x (#71861)

Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
This commit is contained in:
Tiago Costa 2020-07-15 17:32:13 +01:00 committed by GitHub
parent 4e13c6880a
commit badb7b5c8c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 5 deletions

View file

@ -3,6 +3,7 @@
"targetBranchChoices": [
{ "name": "master", "checked": true },
{ "name": "7.x", "checked": true },
"7.9",
"7.8",
"7.7",
"7.6",
@ -26,7 +27,7 @@
"targetPRLabels": ["backport"],
"branchLabelMapping": {
"^v8.0.0$": "master",
"^v7.9.0$": "7.x",
"^v7.10.0$": "7.x",
"^v(\\d+).(\\d+).\\d+$": "$1.$2"
}
}

View file

@ -25,7 +25,7 @@
'Team:Operations',
'renovate',
'v8.0.0',
'v7.9.0',
'v7.10.0',
],
major: {
labels: [
@ -33,7 +33,7 @@
'Team:Operations',
'renovate',
'v8.0.0',
'v7.9.0',
'v7.10.0',
'renovate:major',
],
},
@ -254,7 +254,7 @@
'Team:Operations',
'renovate',
'v8.0.0',
'v7.9.0',
'v7.10.0',
':ml',
],
},

View file

@ -21,7 +21,7 @@ import { RENOVATE_PACKAGE_GROUPS } from './package_groups';
import { PACKAGE_GLOBS } from './package_globs';
import { wordRegExp, maybeFlatMap, maybeMap, getTypePackageName } from './utils';
const DEFAULT_LABELS = ['release_note:skip', 'Team:Operations', 'renovate', 'v8.0.0', 'v7.9.0'];
const DEFAULT_LABELS = ['release_note:skip', 'Team:Operations', 'renovate', 'v8.0.0', 'v7.10.0'];
export const RENOVATE_CONFIG = {
extends: ['config:base'],