octocrab icon indicating copy to clipboard operation
octocrab copied to clipboard

Check run and check suite event payloads

Open chinedufn opened this issue 3 years ago • 1 comments

Hey!

I'd like to add CheckRun and CheckSuite variants to the EventPayload.

https://github.com/XAMPPRocky/octocrab/blob/9e82499d753e0805193fa1c78d3013b8e4a38bc8/src/models/events/payload.rs#L36

Just confirming that those would be accepted contributions before I invest time in this?

Thanks!

https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#webhook-payload-object-1

https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#check_suite

chinedufn avatar Sep 11 '21 00:09 chinedufn

Thank you for your issue! In general, adding support for types that already exist in the API are always welcome. 🙂

XAMPPRocky avatar Sep 12 '21 08:09 XAMPPRocky