allegroplanet / allegro-planet

1 stars 1 forks source link

Support GitHub Webhooks #55

Closed MarkOates closed 7 years ago

MarkOates commented 7 years ago

In order for Allegro Planet to begin working toward advanced features like remote build and CI, it will need to have support webhooks from GitHub.

In this simplest iteration, I'll add an endpoint at /github_webhooks that will simply take whatever data is passed to it, and store it as a GithubWebhook record. Later, we can figure out what features to extract, and what actions we want to take on it. Note that this feature also does not yet provide any restrictions on a requester and can receive calls from anywhere, not just from GitHub.

See the GitHub docs on creating a CI server for more detail.