Skip to main content

github.github.ondelete

Home > @runlightyear/github > GitHub > onDelete

GitHub.onDelete() method

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

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

Signature:
static onDelete(props: GitHubListenerProps<DeletePayload>): {
webhook: string;
action: string;
};

Parameters

ParameterTypeDescription
propsGitHubListenerProps<DeletePayload>
Returns:

{ webhook: string; action: string; }