Taskcluster-Github Exchanges


The github service publishes a pulse message for supported github events, translating Github webhook events into pulse messages.

This document describes the exchange offered by the taskcluster github service

GithubEvents Client

// Create GithubEvents client instance with default exchangePrefix:
// exchange/taskcluster-github/v1/

const githubEvents = new taskcluster.GithubEvents(options);

Exchanges in GithubEvents Client

// githubEvents.pullRequest :: routingKeyPattern -> Promise BindingInfo
// githubEvents.push :: routingKeyPattern -> Promise BindingInfo
// githubEvents.release :: routingKeyPattern -> Promise BindingInfo