Skip to main content

@backstage/plugin-events-backend-module-github

Home > @backstage/plugin-events-backend-module-github

Classes

Class

Description

GithubEventRouter

Subscribes to the generic github topic and publishes the events under the more concrete sub-topic depending on the x-github-event provided.

Functions

Function

Description

createGithubSignatureValidator(config)

Validates that the request received is the expected GitHub request using the signature received with the x-hub-signature-256 header which is based on a secret token configured at GitHub and here.

See https://docs.github.com/en/developers/webhooks-and-events/webhooks/securing-your-webhooks for more details.

Variables

Variable

Description

_default