Skip to main content

github.github.oncreate

Home > @runlightyear/github > GitHub > onCreate

GitHub.onCreate() method

This event occurs when a Git branch or tag is created.

Note: This event will not occur when more than three tags are created at once.

Signature:
static onCreate(props: GitHubListenerProps<CreatePayload>): {
webhook: string;
action: string;
};

Parameters

ParameterTypeDescription
propsGitHubListenerProps<CreatePayload>
Returns:

{ webhook: string; action: string; }