TaskCluster-Github Exchanges


The github service, typically available at github.taskcluster.net, is responsible for publishing a pulse message for supported github events.

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