File tree 1 file changed +9
-0
lines changed
1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ void startServer(HTTPServerSettings settings)
45
45
.post(" /github_hook" , &githubHook)
46
46
.match(HTTPMethod.HEAD , " /trello_hook" , (req, res) => res.writeVoidBody)
47
47
.post(" /trello_hook" , &trelloHook)
48
+ .post(" /codecov_hook" , &codecovHook)
48
49
;
49
50
50
51
HTTPClient.setUserAgentString(" dlang-bot vibe.d/" ~ vibeVersionString);
@@ -229,6 +230,14 @@ void handlePR(string action, PullRequest* _pr)
229
230
230
231
// ==============================================================================
231
232
233
+ void codecovHook (HTTPServerRequest req, HTTPServerResponse res)
234
+ {
235
+ logDebug(" codecovHook: %s" , req.bodyReader.readAllUTF8);
236
+ return res.writeBody(" OK" );
237
+ }
238
+
239
+ // ==============================================================================
240
+
232
241
version (unittest ) {}
233
242
else void main(string [] args)
234
243
{
You can’t perform that action at this time.
0 commit comments