github-api icon indicating copy to clipboard operation
github-api copied to clipboard

GitHub App Webhook Deliveries support

Open Georgeforman3 opened this issue 3 years ago • 1 comments

Is there any way to list webhook deliveries for the webhook configured for a GitHub App? https://docs.github.com/en/enterprise-cloud@latest/rest/reference/apps#list-deliveries-for-an-app-webhook

Or to redeliver a delivery? https://docs.github.com/en/enterprise-cloud@latest/rest/reference/apps#redeliver-a-delivery-for-an-app-webhook

Thanks.

Georgeforman3 avatar Mar 15 '22 09:03 Georgeforman3

The first item seems like an easy fix - add the field and test it.

The second item is easy enough to add a method to call, testing might be a little harder. You can certainly check that the endpoint is called but verifying the webhook callback isn't something we can currently do in our CI system. It would probably be best to create the WireMock test data by hand and only run the test against the custom/mocked data.

Still, I would say both are good first issues with reasonably clear paths to completion.

bitwiseman avatar Apr 05 '22 15:04 bitwiseman