Open mbarton opened 3 months ago
Hi @mbarton ! Sorry I missed the notification for this PR, I'll try to take a look at it today!
No worries @rtyley there's another one here in the lib :) https://github.com/rtyley/play-git-hub/pull/10. We've been successfully using Prout @rcpch on our clinical audit platforms (example https://github.com/rcpch/rcpch-audit-engine/pull/1070). It's already caught a couple of crashing deploys!
When set up at the organisation level the initial "ping" webhook GitHub sends to test the connection is missing the "repository" key. We crashed on that before meaning the webhook was never enabled:
To test:
Add this test JSON payload to a file (copied from the GitHub webhooks debugging UI)
Send a request