segmentio / patchwork

4 stars 3 forks source link

Use Github Status API #2

Open f2prateek opened 8 years ago

f2prateek commented 8 years ago

This will be more flexible in that we don't have to care what CI systems the repo is using. We'll let the Github status API take care of that for us, since we all we care about is whether the check passed or not.

Additionally, will make it easy to support repos that use multiple hooks for checking builds.

Will limit it to Github repos for down the line, but that's ok.

f2prateek commented 8 years ago

Ref: https://developer.github.com/v3/repos/statuses/#get-the-combined-status-for-a-specific-ref