Skip to main content

github.github._constructor_

Home > @runlightyear/github > GitHub > (constructor)

GitHub.(constructor)

Constructs a new instance of the GitHub class

Signature:
constructor(props: GitHubConnectorProps);

Parameters

ParameterTypeDescription
propsGitHubConnectorProps

Example

defineAction({
name: "githubExample",
title: "GitHub Example",
apps: ["github"],
run: ({ auths }) => {
const github = new GitHub({ auth: auths.github });
}
})