dwyl / dwylbot

:robot: Automating our GitHub Workflow to improve team communication/collaboration and reduce tedious repetition!
28 stars 7 forks source link

Webhooks and Integrations #47

Closed SimonLab closed 7 years ago

SimonLab commented 7 years ago

The first idea to notify dwylbot of Github events is to use Github webhooks. However it seems that Integrations might be another and new way to get notifications. Integrations seems to use webhooks too

Need to read more about Integrations to understand what is the advantages to using them on Github

SimonLab commented 7 years ago

At this stage of the project I prefer to focus on having the main functions working with OAuth Github application. I don't think creating an Integration service would need a lot of code change if we decide to move later on as OAuth App and Integration looks similar. focusing on #41 (Postgres structure) instead

SimonLab commented 7 years ago

More details on how Travis is currently integrated with Github:

So the Travis is using both OAuth app and Integrations.

SimonLab commented 7 years ago

Presentation of integration: https://www.youtube.com/watch?v=_dk4SxkpLc8

Once dwylbot is ready it would be nice to add it to the list of integrations: https://github.com/integrations image

SimonLab commented 7 years ago

Github has updated their integrations and the way to extend Github with new functionalities by launching Github Apps and a market place

https://developer.github.com/changes/2017-05-22-github-apps-production-ship/

I am now investigating a bit more this feature.

SimonLab commented 7 years ago

we are now using Github App :+1: see #51