Current_githubSourceIntegration with GitHub.
val webhook :
engine:Current.Engine.t ->
webhook_secret:string ->
has_role:(Current_web.User.t option -> Current_web.Role.t -> bool) ->
Current_web.Resource.tGitHub webhook endpoint. This MUST be added to Current_web.routes so that we get notified of events. This webhook handles the events:
Webhook payloads are validated against webhook_secret.
See https://docs.github.com/en/developers/webhooks-and-events/webhooks/securing-your-webhooks
Installation of a GitHub application.