Hi all,

FYI, github supports webhooks on pull-requests (though their UI doesn't
allow doing so). Below is a confirmation from their support team.

Thanks,
Senaka.

---------- Forwarded message ----------
From: Ivan Žužak <[email protected]>
Date: Thu, Jan 23, 2014 at 3:50 PM
Subject: Re: Using webhooks for pull requests
To: Senaka Fernando <[email protected]>


Hey Senaka,

Webhooks created via repository settings pages on github.com are triggered
only on "push" events.

It is possible to create webhooks that are triggered on other events as
well, for example pull_request. To do that, you'd need to use our Hooks API:

http://developer.github.com/v3/repos/hooks/

There's an example that shows how to create a webhook that is triggered by
both push and pull_request events:

http://developer.github.com/v3/repos/hooks/#create-a-hook

Hope this helps. Let us know if you run into any trouble with creating
hooks via the API!

Cheers,
Ivan



-- 


*[image: http://wso2.com] <http://wso2.com> Senaka Fernando*
Senior Technical Lead; WSO2 Inc.; http://wso2.com



* Member; Apache Software Foundation; http://apache.org
<http://apache.org>E-mail: senaka AT wso2.com <http://wso2.com>**P: +1 408
754 7388; ext: 51736*;


*M: +94 77 322 1818 Linked-In: http://linkedin.com/in/senakafernando
<http://linkedin.com/in/senakafernando>*Lean . Enterprise . Middleware
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to