This module accepts Github web hooks and publishes them to a local pubsub component for XMPP clients to subscribe to.
Entries are pushed as Atom payloads.
It may also work with Gitlab.
Load the module on a pubsub component:
The URL for Github to post to would be either:
The module also takes the following config options:
||The pubsub node to publish commits on.|
||Required||Shared secret used to sign HTTP requests.|
||not set||Field in repository object to use as node instead of
||superuser||Which actor to do the publish as (used for access control)|
More advanced example
If your HTTP host doesn’t match the pubsub component’s address, you will need to inform Prosody. For more info see Prosody’s HTTP server documentation.