Authenticate and get a GitHub client that can be used to make API calls.
You'll probably want to use
context.github
instead.
Note: app.auth
is
asynchronous, so it needs to be prefixed with a
await
to wait for the magic to happen.
ID of the installation, which can be extracted from
context.payload.installation.id
. If called
without this parameter, the client wil authenticate
as the app
instead of as a specific installation, which means it
can only be used for
app APIs.
An authenticated GitHub API client
Loads a Probot plugin
Listen for GitHub webhooks, which are fired for almost every significant action that users take on GitHub.
a function to call when the webhook is received.
Get an express router that can be used to expose HTTP endpoints
the prefix for the routes
Generated using TypeDoc
The
app
parameter available to apps{logger} log - A logger