github.github.onlabel
Home > @runlightyear/github > GitHub > onLabel
GitHub.onLabel() method
This event occurs when there is activity relating to labels.
If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the labeled or unlabeled action type for the issues, pull_request, or discussion events instead.
Signature:static onLabel(props: GitHubListenerProps<LabelPayload>): {
webhook: string;
action: string;
};
Parameters
Parameter | Type | Description |
---|---|---|
props | GitHubListenerProps<LabelPayload> |
{ webhook: string; action: string; }