-
Notifications
You must be signed in to change notification settings - Fork 49
/
Copy path.backportrc.json
52 lines (52 loc) · 988 Bytes
/
.backportrc.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{
// Required
"repoOwner": "mongodb",
"repoName": "docs-node",
// the branches available to backport to
"targetBranchChoices": [
"master",
"v6.6",
"v6.5",
"v6.4",
"v6.3",
"v6.2",
"v6.1",
"v6.0",
"v5.9",
"v5.8",
"v5.7",
"v5.6",
"v5.5",
"v5.4",
"v5.3",
"v5.2",
"v5.1",
"v5.0",
"v4.15",
"v4.14",
"v4.13",
"v4.12",
"v4.11",
"v4.10",
"v4.9",
"v4.8",
"v4.7",
"v4.6",
"v4.5",
"v4.4",
"v4.3",
"v4.2",
"v4.1",
"v4.0",
"v3.7",
"v3.6"
],
// Optional: automatically merge backport PR
"autoMerge": true,
"autoMergeMethod": "squash",
// Optional: Automatically detect which branches a pull request should be backported to based on the pull request labels.
// In this case, adding the label "auto-backport-to-production" will backport the PR to the "production" branch
"branchLabelMapping": {
"^auto-backport-to-(.+)$": "$1"
}
}