-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig.json
More file actions
216 lines (216 loc) · 5.67 KB
/
config.json
File metadata and controls
216 lines (216 loc) · 5.67 KB
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
{
"name": "Github-Trigger",
"viewName": "GitHub Trigger",
"type": "trigger",
"execProgram": "node",
"main": "app.js",
"imgUrl": "logo.png",
"version": "2.4.1",
"description": "Listens for and handles incoming GitHub webhooks",
"category": "Source Control",
"keywords": [
"github",
"trigger",
"repository",
"commit",
"release",
"version",
"revision",
"change",
"branch",
"control",
"source",
"webhook",
"pull request",
"push",
"pr"
],
"methods": [
{
"name": "webhookPush",
"route": "post /webhook/github/push",
"viewName": "GitHub Push",
"params": [
{
"name": "secret",
"viewName": "Webhook Secret",
"type": "vault",
"description": "A secret string - must match the secret in the GitHub Webhook configuration"
},
{
"name": "repoName",
"viewName": "Repository Name",
"type": "string",
"description": "A specific repository name or empty to match any repository.",
"placeholder": "kaholo-trigger-github"
},
{
"name": "branchPat",
"viewName": "Branch Pattern",
"type": "string",
"description": "A GitHub micromatch pattern, empty to match every branch.",
"placeholder": "*-RC*"
},
{
"name": "tagPat",
"viewName": "Tag Pattern",
"type": "string",
"description": "A GitHub micromatch pattern, empty to match every tag.",
"placeholder": "v2.*"
}
]
},
{
"name": "webhookPR",
"route": "post /webhook/github/pr",
"viewName": "GitHub Pull Request",
"params": [
{
"name": "secret",
"viewName": "Webhook Secret",
"type": "vault",
"description": "A secret string - must match the secret in the GitHub Webhook configuration"
},
{
"name": "repoName",
"viewName": "Repository Name",
"type": "string",
"description": "A specific repository name or empty to match any repository.",
"placeholder": "kaholo-trigger-github"
},
{
"name": "toBranch",
"viewName": "Target Branch",
"type": "string",
"description": "A GitHub micromatch pattern, empty to match every branch.",
"placeholder": "main"
},
{
"name": "fromBranch",
"viewName": "Source Branch",
"type": "string",
"description": "A GitHub micromatch pattern, empty to match every branch.",
"placeholder": "task*"
},
{
"name": "actionType",
"viewName": "Event Action",
"type": "options",
"description": "Action type on which to trigger, or \"Any\" for all actions.",
"default": "any",
"options": [
{
"id": "any",
"name": "Any"
},
{
"id": "opened",
"name": "Opened"
},
{
"id": "merged",
"name": "Merged"
},
{
"id": "declined",
"name": "Declined"
},
{
"id": "reopened",
"name": "Reopened"
},
{
"id": "assigned",
"name": "Assigned"
},
{
"id": "unassigned",
"name": "Unassigned"
},
{
"id": "review_requested",
"name": "Review Requested"
},
{
"id": "review_request_removed",
"name": "Review Request Removed"
},
{
"id": "labeled",
"name": "Labeled"
},
{
"id": "unlabeled",
"name": "Unlabeled"
},
{
"id": "synchronize",
"name": "Synchronize"
}
]
}
]
},
{
"name": "webhookRelease",
"route": "post /webhook/github/release",
"viewName": "GitHub Release",
"params": [
{
"name": "secret",
"viewName": "Webhook Secret",
"type": "vault",
"description": "A secret string - must match the secret in the GitHub Webhook configuration"
},
{
"name": "repoName",
"viewName": "Repository Name",
"type": "string",
"description": "A specific repository name or empty to match any repository.",
"placeholder": "kaholo-trigger-github"
},
{
"name": "eventAction",
"viewName": "Event Action",
"type": "options",
"description": "Action type on which to trigger, or \"Any\" for all actions.",
"default": "any",
"options": [
{
"id": "any",
"name": "Any"
},
{
"id": "created",
"name": "Created"
},
{
"id": "edited",
"name": "Edited"
},
{
"id": "deleted",
"name": "Deleted"
},
{
"id": "released",
"name": "Released"
},
{
"id": "prereleased",
"name": "Prereleased"
},
{
"id": "unpublished",
"name": "Unpublished"
},
{
"id": "published",
"name": "Published"
}
]
}
]
}
]
}