File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
Expand file tree Collapse file tree 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)
4545 .post(" /github_hook" , &githubHook)
4646 .match(HTTPMethod.HEAD , " /trello_hook" , (req, res) => res.writeVoidBody)
4747 .post(" /trello_hook" , &trelloHook)
48+ .post(" /codecov_hook" , &codecovHook)
4849 ;
4950
5051 HTTPClient.setUserAgentString(" dlang-bot vibe.d/" ~ vibeVersionString);
@@ -229,6 +230,14 @@ void handlePR(string action, PullRequest* _pr)
229230
230231// ==============================================================================
231232
233+ void codecovHook (HTTPServerRequest req, HTTPServerResponse res)
234+ {
235+ logDebug(" codecovHook: %s" , req.bodyReader.readAllUTF8);
236+ return res.writeBody(" OK" );
237+ }
238+
239+ // ==============================================================================
240+
232241version (unittest ) {}
233242else void main(string [] args)
234243{
You can’t perform that action at this time.
0 commit comments