githubevents package - github.com/cbrgm/githubevents/githubevents - Go Packages

View Source

const (
	
	BranchProtectionRuleEvent = "branch_protection_rule"

	
	
	BranchProtectionRuleEventAnyAction = "*"

	
	
	BranchProtectionRuleEventCreatedAction = "created"

	
	
	BranchProtectionRuleEventEditedAction = "edited"

	
	
	BranchProtectionRuleEventDeletedAction = "deleted"
)

Actions are used to identify registered callbacks.

View Source

const (
	
	CheckRunEvent = "check_run"

	
	
	CheckRunEventAnyAction = "*"

	
	
	CheckRunEventCreatedAction = "created"

	
	
	CheckRunEventCompletedAction = "completed"

	
	
	CheckRunEventReRequestedAction = "rerequested"

	
	
	CheckRunEventRequestActionAction = "requested_action"
)

Actions are used to identify registered callbacks.

View Source

const (
	
	CheckSuiteEvent = "check_suite"

	
	
	CheckSuiteEventAnyAction = "*"

	
	
	CheckSuiteEventCompletedAction = "completed"

	
	
	CheckSuiteEventRequestedAction = "requested"

	
	
	CheckSuiteEventReRequestedAction = "rerequested"
)

Actions are used to identify registered callbacks.

View Source

const (
	CommitCommentEvent = "commit_comment"

	
	CommitCommentEventAnyAction = "*"

	
	CommitCommentEventCreatedAction = "created"
)

Actions are used to identify registered callbacks.

View Source

const (
	
	CreateEvent = "create"

	
	
	CreateEventAnyAction = "*"
)

Actions are used to identify registered callbacks.

View Source

const (
	
	DeleteEvent = "delete"

	
	
	DeleteEventAnyAction = "*"
)

Actions are used to identify registered callbacks.

View Source

const (
	
	DeployKeyEvent = "deploy_key"

	
	
	DeployKeyEventAnyAction = "*"

	
	
	DeployKeyEventCreatedAction = "created"

	
	
	DeployKeyEventDeletedAction = "deleted"
)

Actions are used to identify registered callbacks.

View Source

const (
	
	DeploymentEvent = "deployment"

	
	
	DeploymentEventAnyAction = "*"
)

Actions are used to identify registered callbacks.

View Source

const (
	
	DeploymentStatusEvent = "deployment_status"

	
	
	DeploymentStatusEventAnyAction = "*"
)

Actions are used to identify registered callbacks.

View Source

const (
	
	DiscussionEvent = "discussion"

	
	
	DiscussionEventAnyAction = "*"

	
	
	DiscussionEventCreatedAction = "created"

	
	
	DiscussionEventEditedAction = "edited"

	
	
	DiscussionEventDeletedAction = "deleted"

	
	
	DiscussionEventPinnedAction = "pinned"

	
	
	DiscussionEventUnpinnedAction = "unpinned"

	
	
	DiscussionEventLockedAction = "locked"

	
	
	DiscussionEventUnlockedAction = "unlocked"

	
	
	DiscussionEventTransferredAction = "transferred"

	
	
	DiscussionEventCategoryChangedAction = "category_changed"

	
	
	DiscussionEventAnsweredAction = "answered"

	
	
	DiscussionEventUnansweredAction = "unanswered"

	
	
	DiscussionEventLabeledAction = "labeled"

	
	
	DiscussionEventUnlabeledAction = "unlabeled"
)

Actions are used to identify registered callbacks.

View Source

const (
	
	ForkEvent = "fork"

	
	
	ForkEventAnyAction = "*"
)

Actions are used to identify registered callbacks.

View Source

const (
	GitHubAppAuthorizationEvent = "github_app_authorization"

	
	
	GitHubAppAuthorizationEventAnyAction = "*"

	
	
	GitHubAppAuthorizationEventRevokedAction = "revoked"
)

Actions are used to identify registered callbacks.

View Source

const (
	
	GollumEvent = "gollum"

	
	
	GollumEventAnyAction = "*"
)

Actions are used to identify registered callbacks.

View Source

const (
	
	InstallationEvent = "installation"

	
	
	InstallationEventAnyAction = "*"

	
	
	InstallationEventCreatedAction = "created"

	
	
	InstallationEventDeletedAction = "deleted"

	
	
	InstallationEventEventSuspendAction = "suspend"

	
	
	InstallationEventEventUnsuspendAction = "unsuspend"

	
	
	InstallationEventNewPermissionsAcceptedAction = "new_permissions_accepted"
)

Actions are used to identify registered callbacks.

View Source

const (
	
	InstallationRepositoriesEvent = "installation_repositories"

	
	
	InstallationRepositoriesEventAnyAction = "*"

	
	
	InstallationRepositoriesEventAddedAction = "added"

	
	
	InstallationRepositoriesEventRemovedAction = "removed"
)

Actions are used to identify registered callbacks.

View Source

const (
	IssueCommentEvent = "issue_comment"

	
	IssueCommentEventAnyAction = "*"

	
	IssueCommentCreatedAction = "created"

	
	IssueCommentEditedAction = "edited"

	
	IssueCommentDeletedAction = "deleted"
)

Actions are used to identify registered callbacks.

View Source

const (
	
	IssuesEvent = "issues"

	
	
	IssuesEventAnyAction = "*"

	
	
	IssuesEventOpenedAction = "opened"

	
	
	IssuesEventEditedAction = "edited"

	
	
	IssuesEventDeletedAction = "deleted"

	
	
	IssuesEventPinnedAction = "pinned"

	
	
	IssuesEventUnpinnedAction = "unpinned"

	
	
	IssuesEventClosedAction = "closed"

	
	
	IssuesEventReopenedAction = "reopened"

	
	
	IssuesEventAssignedAction = "assigned"

	
	
	IssuesEventUnassignedAction = "unassigned"

	
	
	IssuesEventLabeledAction = "labeled"

	
	
	IssuesEventUnlabeledAction = "unlabeled"

	
	
	IssuesEventLockedAction = "locked"

	
	
	IssuesEventUnlockedAction = "unlocked"

	
	
	IssuesEventTransferredAction = "transferred"

	
	
	IssuesEventMilestonedAction = "milestoned"

	
	
	IssuesEventDeMilestonedAction = "demilestoned"
)

Actions are used to identify registered callbacks.

View Source

const (
	
	LabelEvent = "label"

	
	
	LabelEventAnyAction = "*"

	
	
	LabelEventCreatedAction = "created"

	
	
	LabelEventEditedAction = "edited"

	
	
	LabelEventDeletedAction = "deleted"
)

Actions are used to identify registered callbacks.

View Source

const (
	
	MarketplacePurchaseEvent = "marketplace_purchase"

	
	
	MarketplacePurchaseEventAnyAction = "*"

	
	
	MarketplacePurchaseEventPurchasedAction = "purchased"

	
	
	MarketplacePurchaseEventPendingChangeAction = "pending_change"

	
	
	MarketplacePurchaseEventPendingChangeCancelledAction = "pending_change_cancelled"

	
	
	MarketplacePurchaseEventChangedAction = "changed"

	
	
	MarketplacePurchaseEventCancelledAction = "cancelled"
)

Actions are used to identify registered callbacks.

View Source

const (
	
	MemberEvent = "member"

	
	
	MemberEventAnyAction = "*"

	
	
	MemberEventAddedAction = "added"

	
	
	MemberEventRemovedAction = "removed"

	
	
	MemberEventEditedAction = "edited"
)

Actions are used to identify registered callbacks.

View Source

const (
	
	MembershipEvent = "membership"

	
	
	MembershipEventAnyAction = "*"

	
	
	MembershipEventAddedAction = "added"

	
	
	MembershipEventRemovedAction = "removed"
)

Actions are used to identify registered callbacks.

View Source

const (
	
	MergeGroupEvent = "merge_group_event"

	
	
	MergeGroupEventAnyAction = "*"

	
	
	MergeGroupEventChecksRequestedAction = "checks_requested"

	
	
	MergeGroupEventDestroyedAction = "destroyed"
)

Actions are used to identify registered callbacks.

View Source

const (
	
	MetaEvent = "meta"

	
	
	MetaEventAnyAction = "*"
)

Actions are used to identify registered callbacks.

View Source

const (
	
	MilestoneEvent = "milestone"

	
	
	MilestoneEventAnyAction = "*"

	
	
	MilestoneEventCreatedAction = "created"

	
	
	MilestoneEventClosedAction = "closed"

	
	
	MilestoneEventOpenedAction = "opened"

	
	
	MilestoneEventEditedAction = "edited"

	
	
	MilestoneEventDeletedAction = "deleted"
)

Actions are used to identify registered callbacks.

View Source

const (
	
	OrgBlockEvent = "org_block"

	
	
	OrgBlockEventAnyAction = "*"

	
	
	OrgBlockEventBlockedAction = "blocked"

	
	
	OrgBlockEventUnblockedAction = "unblocked"
)

Actions are used to identify registered callbacks.

View Source

const (
	
	OrganizationEvent = "organization"

	
	
	OrganizationEventAnyAction = "*"

	
	
	OrganizationEventDeletedAction = "deleted"

	
	
	OrganizationEventRenamedAction = "renamed"

	
	
	OrganizationEventMemberAddedAction = "member_added"

	
	
	OrganizationEventMemberRemovedAction = "member_removed"

	
	
	OrganizationEventMemberInvitedAction = "member_invited"
)

Actions are used to identify registered callbacks.

View Source

const (
	
	PackageEvent = "package"

	
	
	PackageEventAnyAction = "*"

	
	
	PackageEventPublishedAction = "published"

	
	
	PackageEventUpdatedAction = "updated"
)

Actions are used to identify registered callbacks.

View Source

const (
	
	PageBuildEvent = "page_build"

	
	
	PageBuildEventAnyAction = "*"
)

Actions are used to identify registered callbacks.

View Source

const (
	
	PingEvent = "ping"

	
	
	PingEventAnyAction = "*"
)

Actions are used to identify registered callbacks.

View Source

const (
	
	ProjectV2Event = "project_v2"

	
	
	ProjectV2EventAnyAction = "*"

	
	
	ProjectEventCreatedAction = "created"

	
	
	ProjectEventEditedAction = "edited"

	
	
	ProjectEventClosedAction = "closed"

	
	
	ProjectEventReopenedAction = "reopened"

	
	
	ProjectEventDeletedAction = "deleted"
)

Actions are used to identify registered callbacks.

View Source

const (
	
	ProjectV2ItemEvent = "project_v2_item"

	
	
	ProjectV2ItemEventAnyAction = "*"

	
	
	ProjectItemEventCreatedAction = "created"

	
	
	ProjectItemEventEditedAction = "edited"

	
	
	ProjectItemEventClosedAction = "closed"

	
	
	ProjectItemEventReopenedAction = "reopened"

	
	
	ProjectItemEventDeletedAction = "deleted"

	
	
	ProjectItemEventConvertedAction = "converted"

	
	
	ProjectItemEventRestoredAction = "restored"
)

Actions are used to identify registered callbacks.

View Source

const (
	
	PublicEvent = "public"

	
	
	PublicEventAnyAction = "*"
)

Actions are used to identify registered callbacks.

View Source

const (
	
	PullRequestEvent = "pull_request"

	
	
	PullRequestEventAnyAction = "*"

	
	
	PullRequestEventAssignedAction = "assigned"

	
	
	PullRequestEventAutoMergeDisabledAction = "auto_merge_disabled"

	
	
	PullRequestEventAutoMergeEnabledAction = "auto_merge_enabled"

	
	
	PullRequestEventClosedAction = "closed"

	
	
	PullRequestEventConvertedToDraftAction = "converted_to_draft"

	
	
	PullRequestEventEditedAction = "edited"

	
	
	PullRequestEventLabeledAction = "labeled"

	
	
	PullRequestEventLockedAction = "locked"

	
	
	PullRequestEventOpenedAction = "opened"

	
	
	PullRequestEventReadyForReviewAction = "ready_for_review"

	
	
	PullRequestEventReopenedAction = "reopened"

	
	
	PullRequestEventReviewRequestRemovedAction = "review_request_removed"

	
	
	PullRequestEventReviewRequestedAction = "review_requested"

	
	
	PullRequestEventSynchronizeAction = "synchronize"

	
	
	PullRequestEventUnassignedAction = "unassigned"

	
	
	PullRequestEventUnlabeledAction = "unlabeled"

	
	
	PullRequestEventUnlockedAction = "unlocked"
)

Actions are used to identify registered callbacks.

View Source

const (
	
	PullRequestReviewEvent = "pull_request_review"

	
	
	PullRequestReviewEventAnyAction = "*"

	
	
	PullRequestReviewEventSubmittedAction = "submitted"

	
	
	PullRequestReviewEventEditedAction = "edited"

	
	
	PullRequestReviewEventDismissedAction = "dismissed"
)

Actions are used to identify registered callbacks.

View Source

const (
	PullRequestReviewCommentEvent = "pull_request_review_comment"

	
	PullRequestReviewCommentEventAnyAction = "*"

	
	PullRequestReviewCommentEventCreatedAction = "created"

	
	PullRequestReviewCommentEventEditedAction = "edited"

	
	PullRequestReviewCommentEventDeletedAction = "deleted"
)

Actions are used to identify registered callbacks.

View Source

const (
	
	PushEvent = "push"

	
	
	PushEventAnyAction = "*"
)

Actions are used to identify registered callbacks.

View Source

const (
	
	ReleaseEvent = "release"

	
	
	ReleaseEventAnyAction = "*"

	
	
	ReleaseEventPublishedAction = "published"

	
	
	ReleaseEventUnpublishedAction = "unpublished"

	
	
	ReleaseEventCreatedAction = "created"

	
	
	ReleaseEventEditedAction = "edited"

	
	
	ReleaseEventDeletedAction = "deleted"

	
	
	ReleaseEventPreReleasedAction = "prereleased"

	
	
	ReleaseEventReleasedAction = "released"
)

Actions are used to identify registered callbacks.

View Source

const (
	
	RepositoryEvent = "repository"

	
	
	RepositoryEventAnyAction = "*"

	
	
	RepositoryEventCreatedAction = "created"

	
	
	RepositoryEventDeletedAction = "deleted"

	
	
	RepositoryEventArchivedAction = "archived"

	
	
	RepositoryEventUnarchivedAction = "unarchived"

	
	
	RepositoryEventEditedAction = "edited"

	
	
	RepositoryEventRenamedAction = "renamed"

	
	
	RepositoryEventTransferredAction = "transferred"

	
	
	RepositoryEventPublicizedAction = "publicized"

	
	
	RepositoryEventPrivatizedAction = "privatized"
)

Actions are used to identify registered callbacks.

View Source

const (
	
	RepositoryDispatchEvent = "repository_dispatch"

	
	
	RepositoryDispatchEventAnyAction = "*"
)

Actions are used to identify registered callbacks.

View Source

const (
	
	RepositoryRulesetEvent = "repository_ruleset"

	
	
	RepositoryRulesetEventAnyAction = "*"

	
	
	RepositoryRulesetEventCreatedAction = "created"

	
	
	RepositoryRulesetEventDeletedAction = "deleted"

	
	
	RepositoryRulesetEventEditedAction = "edited"
)

Actions are used to identify registered callbacks.

View Source

const (
	
	RepositoryVulnerabilityAlertEvent = "repository_vulnerability_alert"

	
	
	RepositoryVulnerabilityAlertEventAnyAction = "*"

	
	
	RepositoryVulnerabilityAlertEventCreateAction = "create"

	
	
	RepositoryVulnerabilityAlertEventDismissAction = "dismiss"

	
	
	RepositoryVulnerabilityAlertEventResolveAction = "resolve"
)

Actions are used to identify registered callbacks.

View Source

const (
	
	StarEvent = "star"

	
	
	StarEventAnyAction = "*"

	
	
	StarEventCreatedAction = "created"

	
	
	StarEventDeletedAction = "deleted"
)

Actions are used to identify registered callbacks.

View Source

const (
	
	StatusEvent = "status"

	
	
	StatusEventAnyAction = "*"
)

Actions are used to identify registered callbacks.

View Source

const (
	
	TeamEvent = "team"

	
	
	TeamEventAnyAction = "*"

	
	
	TeamEventCreatedAction = "created"

	
	
	TeamEventDeletedAction = "deleted"

	
	
	TeamEventEditedAction = "edited"

	
	
	TeamEventAddedToRepositoryAction = "added_to_repository"

	
	
	TeamEventRemovedFromRepositoryAction = "removed_from_repository"
)

Actions are used to identify registered callbacks.

View Source

const (
	
	TeamAddEvent = "team_add"

	
	
	TeamAddEventAnyAction = "*"
)

Actions are used to identify registered callbacks.

View Source

const (
	
	WatchEvent = "watch"

	
	
	WatchEventAnyAction = "*"
)

Actions are used to identify registered callbacks.

View Source

const (
	
	WorkflowDispatchEvent = "workflow_dispatch"

	
	
	WorkflowDispatchEventAnyAction = "*"
)

Actions are used to identify registered callbacks.

View Source

const (
	
	WorkflowJobEvent = "workflow_job"

	
	
	WorkflowJobEventAnyAction = "*"

	
	
	WorkflowJobEventQueuedAction = "queued"

	
	
	WorkflowJobEventInProgressAction = "in_progress"

	
	
	WorkflowJobEventCompletedAction = "completed"
)

Actions are used to identify registered callbacks.

View Source

const (
	
	WorkflowRunEvent = "workflow_run"

	
	
	WorkflowRunEventAnyAction = "*"

	
	
	WorkflowRunEventRequestedAction = "requested"

	
	
	WorkflowRunEventCompletedAction = "completed"
)

Actions are used to identify registered callbacks.

Actions are used to identify registered callbacks.

This section is empty.

This section is empty.

type BranchProtectionRuleEventHandleFunc

BranchProtectionRuleEventHandleFunc represents a callback function triggered on github.BranchProtectionRuleEvent's. 'deliveryID' (type: string) is the unique webhook delivery ID. 'eventName' (type: string) is the name of the event. 'event' (type: *github.BranchProtectionRuleEvent) is the webhook payload.

type CheckRunEventHandleFunc

CheckRunEventHandleFunc represents a callback function triggered on github.CheckRunEvent's. 'deliveryID' (type: string) is the unique webhook delivery ID. 'eventName' (type: string) is the name of the event. 'event' (type: *github.CheckRunEvent) is the webhook payload.

type CheckSuiteEventHandleFunc

CheckSuiteEventHandleFunc represents a callback function triggered on github.CheckSuiteEvent's. 'deliveryID' (type: string) is the unique webhook delivery ID. 'eventName' (type: string) is the name of the event. 'event' (type: *github.CheckSuiteEvent) is the webhook payload.

type CommitCommentEventHandleFunc

CommitCommentEventHandleFunc represents a callback function triggered on github.CommitCommentEvent's. 'deliveryID' (type: string) is the unique webhook delivery ID. 'eventName' (type: string) is the name of the event. 'event' (type: *github.CommitCommentEvent) is the webhook payload.

type CreateEventHandleFunc

CreateEventHandleFunc represents a callback function triggered on github.CreateEvent's. 'deliveryID' (type: string) is the unique webhook delivery ID. 'eventName' (type: string) is the name of the event. 'event' (type: *github.CreateEvent) is the webhook payload.

type DeleteEventHandleFunc

DeleteEventHandleFunc represents a callback function triggered on github.DeleteEvent's. 'deliveryID' (type: string) is the unique webhook delivery ID. 'eventName' (type: string) is the name of the event. 'event' (type: *github.DeleteEvent) is the webhook payload.

type DeployKeyEventHandleFunc

DeployKeyEventHandleFunc represents a callback function triggered on github.DeployKeyEvent's. 'deliveryID' (type: string) is the unique webhook delivery ID. 'eventName' (type: string) is the name of the event. 'event' (type: *github.DeployKeyEvent) is the webhook payload.

type DeploymentEventHandleFunc

DeploymentEventHandleFunc represents a callback function triggered on github.DeploymentEvent's. 'deliveryID' (type: string) is the unique webhook delivery ID. 'eventName' (type: string) is the name of the event. 'event' (type: *github.DeploymentEvent) is the webhook payload.

type DeploymentStatusEventHandleFunc

DeploymentStatusEventHandleFunc represents a callback function triggered on github.DeploymentStatusEvent's. 'deliveryID' (type: string) is the unique webhook delivery ID. 'eventName' (type: string) is the name of the event. 'event' (type: *github.DeploymentStatusEvent) is the webhook payload.

type DiscussionEventHandleFunc

DiscussionEventHandleFunc represents a callback function triggered on github.DiscussionEvent's. 'deliveryID' (type: string) is the unique webhook delivery ID. 'eventName' (type: string) is the name of the event. 'event' (type: *github.DiscussionEvent) is the webhook payload.

type ErrorEventHandleFunc

ErrorEventHandleFunc represents a generic callback function which receives any event and an error thrown by some function on a higher level.

type EventHandleFunc

type EventHandleFunc func(deliveryID string, eventName string, event interface{}) error

EventHandleFunc represents a generic callback function which receives any event.

type EventHandler

type EventHandler struct {

	
	WebhookSecret string
	
}

EventHandler represents a Github webhook handler.

New returns EventHandler webhookSecret is the GitHub Webhook secret token. If your webhook does not contain a secret token, you can set nil. This is intended for local development purposes only and all webhooks should ideally set up a secret token.

func (*EventHandler) BranchProtectionRuleEvent

BranchProtectionRuleEvent handles github.BranchProtectionRuleEvent.

Callbacks are executed in the following order:

1) All callbacks registered with OnBeforeAny are executed in parallel. 2) All callbacks registered with OnBranchProtectionRuleEvent... are executed in parallel in case the Event has actions. 3) All callbacks registered with OnAfterAny are executed in parallel.

on any error all callbacks registered with OnError are executed in parallel.

func (*EventHandler) CheckRunEvent

CheckRunEvent handles github.CheckRunEvent.

Callbacks are executed in the following order:

1) All callbacks registered with OnBeforeAny are executed in parallel. 2) All callbacks registered with OnCheckRunEvent... are executed in parallel in case the Event has actions. 3) All callbacks registered with OnAfterAny are executed in parallel.

on any error all callbacks registered with OnError are executed in parallel.

func (*EventHandler) CheckSuiteEvent

CheckSuiteEvent handles github.CheckSuiteEvent.

Callbacks are executed in the following order:

1) All callbacks registered with OnBeforeAny are executed in parallel. 2) All callbacks registered with OnCheckSuiteEvent... are executed in parallel in case the Event has actions. 3) All callbacks registered with OnAfterAny are executed in parallel.

on any error all callbacks registered with OnError are executed in parallel.

func (*EventHandler) CommitCommentEvent

CommitCommentEvent handles github.CommitCommentEvent.

Callbacks are executed in the following order:

1) All callbacks registered with OnBeforeAny are executed in parallel. 2) All callbacks registered with OnCommitCommentEvent... are executed in parallel in case the Event has actions. 3) All callbacks registered with OnAfterAny are executed in parallel.

on any error all callbacks registered with OnError are executed in parallel.

func (*EventHandler) CreateEvent

CreateEvent handles github.CreateEvent.

Callbacks are executed in the following order:

1) All callbacks registered with OnBeforeAny are executed in parallel. 2) All callbacks registered with OnCreateEvent... are executed in parallel in case the Event has actions. 3) All callbacks registered with OnAfterAny are executed in parallel.

on any error all callbacks registered with OnError are executed in parallel.

func (*EventHandler) DeleteEvent

DeleteEvent handles github.DeleteEvent.

Callbacks are executed in the following order:

1) All callbacks registered with OnBeforeAny are executed in parallel. 2) All callbacks registered with OnDeleteEvent... are executed in parallel in case the Event has actions. 3) All callbacks registered with OnAfterAny are executed in parallel.

on any error all callbacks registered with OnError are executed in parallel.

func (*EventHandler) DeployKeyEvent

DeployKeyEvent handles github.DeployKeyEvent.

Callbacks are executed in the following order:

1) All callbacks registered with OnBeforeAny are executed in parallel. 2) All callbacks registered with OnDeployKeyEvent... are executed in parallel in case the Event has actions. 3) All callbacks registered with OnAfterAny are executed in parallel.

on any error all callbacks registered with OnError are executed in parallel.

func (*EventHandler) DeploymentEvent

DeploymentEvent handles github.DeploymentEvent.

Callbacks are executed in the following order:

1) All callbacks registered with OnBeforeAny are executed in parallel. 2) All callbacks registered with OnDeploymentEvent... are executed in parallel in case the Event has actions. 3) All callbacks registered with OnAfterAny are executed in parallel.

on any error all callbacks registered with OnError are executed in parallel.

func (*EventHandler) DeploymentStatusEvent

DeploymentStatusEvent handles github.DeploymentStatusEvent.

Callbacks are executed in the following order:

1) All callbacks registered with OnBeforeAny are executed in parallel. 2) All callbacks registered with OnDeploymentStatusEvent... are executed in parallel in case the Event has actions. 3) All callbacks registered with OnAfterAny are executed in parallel.

on any error all callbacks registered with OnError are executed in parallel.

func (*EventHandler) DiscussionEvent

DiscussionEvent handles github.DiscussionEvent.

Callbacks are executed in the following order:

1) All callbacks registered with OnBeforeAny are executed in parallel. 2) All callbacks registered with OnDiscussionEvent... are executed in parallel in case the Event has actions. 3) All callbacks registered with OnAfterAny are executed in parallel.

on any error all callbacks registered with OnError are executed in parallel.

func (*EventHandler) ForkEvent

ForkEvent handles github.ForkEvent.

Callbacks are executed in the following order:

1) All callbacks registered with OnBeforeAny are executed in parallel. 2) All callbacks registered with OnForkEvent... are executed in parallel in case the Event has actions. 3) All callbacks registered with OnAfterAny are executed in parallel.

on any error all callbacks registered with OnError are executed in parallel.

func (*EventHandler) GitHubAppAuthorizationEvent

GitHubAppAuthorizationEvent handles github.GitHubAppAuthorizationEvent.

Callbacks are executed in the following order:

1) All callbacks registered with OnBeforeAny are executed in parallel. 2) All callbacks registered with OnGitHubAppAuthorizationEvent... are executed in parallel in case the Event has actions. 3) All callbacks registered with OnAfterAny are executed in parallel.

on any error all callbacks registered with OnError are executed in parallel.

func (*EventHandler) GollumEvent

GollumEvent handles github.GollumEvent.

Callbacks are executed in the following order:

1) All callbacks registered with OnBeforeAny are executed in parallel. 2) All callbacks registered with OnGollumEvent... are executed in parallel in case the Event has actions. 3) All callbacks registered with OnAfterAny are executed in parallel.

on any error all callbacks registered with OnError are executed in parallel.

func (*EventHandler) HandleEvent added in v1.23.0

HandleEvent executes registered handlers.

func (*EventHandler) HandleEventRequest

HandleEventRequest parses a Github event from http.Request and executes registered handlers.

func (*EventHandler) InstallationEvent

InstallationEvent handles github.InstallationEvent.

Callbacks are executed in the following order:

1) All callbacks registered with OnBeforeAny are executed in parallel. 2) All callbacks registered with OnInstallationEvent... are executed in parallel in case the Event has actions. 3) All callbacks registered with OnAfterAny are executed in parallel.

on any error all callbacks registered with OnError are executed in parallel.

func (*EventHandler) InstallationRepositoriesEvent

InstallationRepositoriesEvent handles github.InstallationRepositoriesEvent.

Callbacks are executed in the following order:

1) All callbacks registered with OnBeforeAny are executed in parallel. 2) All callbacks registered with OnInstallationRepositoriesEvent... are executed in parallel in case the Event has actions. 3) All callbacks registered with OnAfterAny are executed in parallel.

on any error all callbacks registered with OnError are executed in parallel.

func (*EventHandler) IssueCommentEvent

IssueCommentEvent handles github.IssueCommentEvent.

Callbacks are executed in the following order:

1) All callbacks registered with OnBeforeAny are executed in parallel. 2) All callbacks registered with OnIssueCommentEvent... are executed in parallel in case the Event has actions. 3) All callbacks registered with OnAfterAny are executed in parallel.

on any error all callbacks registered with OnError are executed in parallel.

func (*EventHandler) IssuesEvent

IssuesEvent handles github.IssuesEvent.

Callbacks are executed in the following order:

1) All callbacks registered with OnBeforeAny are executed in parallel. 2) All callbacks registered with OnIssuesEvent... are executed in parallel in case the Event has actions. 3) All callbacks registered with OnAfterAny are executed in parallel.

on any error all callbacks registered with OnError are executed in parallel.

func (*EventHandler) LabelEvent

LabelEvent handles github.LabelEvent.

Callbacks are executed in the following order:

1) All callbacks registered with OnBeforeAny are executed in parallel. 2) All callbacks registered with OnLabelEvent... are executed in parallel in case the Event has actions. 3) All callbacks registered with OnAfterAny are executed in parallel.

on any error all callbacks registered with OnError are executed in parallel.

func (*EventHandler) MarketplacePurchaseEvent

MarketplacePurchaseEvent handles github.MarketplacePurchaseEvent.

Callbacks are executed in the following order:

1) All callbacks registered with OnBeforeAny are executed in parallel. 2) All callbacks registered with OnMarketplacePurchaseEvent... are executed in parallel in case the Event has actions. 3) All callbacks registered with OnAfterAny are executed in parallel.

on any error all callbacks registered with OnError are executed in parallel.

func (*EventHandler) MemberEvent

MemberEvent handles github.MemberEvent.

Callbacks are executed in the following order:

1) All callbacks registered with OnBeforeAny are executed in parallel. 2) All callbacks registered with OnMemberEvent... are executed in parallel in case the Event has actions. 3) All callbacks registered with OnAfterAny are executed in parallel.

on any error all callbacks registered with OnError are executed in parallel.

func (*EventHandler) MembershipEvent

MembershipEvent handles github.MembershipEvent.

Callbacks are executed in the following order:

1) All callbacks registered with OnBeforeAny are executed in parallel. 2) All callbacks registered with OnMembershipEvent... are executed in parallel in case the Event has actions. 3) All callbacks registered with OnAfterAny are executed in parallel.

on any error all callbacks registered with OnError are executed in parallel.

func (*EventHandler) MergeGroupEvent added in v1.12.0

MergeGroupEvent handles github.MergeGroupEvent.

Callbacks are executed in the following order:

1) All callbacks registered with OnBeforeAny are executed in parallel. 2) All callbacks registered with OnMergeGroupEvent... are executed in parallel in case the Event has actions. 3) All callbacks registered with OnAfterAny are executed in parallel.

on any error all callbacks registered with OnError are executed in parallel.

func (*EventHandler) MetaEvent

MetaEvent handles github.MetaEvent.

Callbacks are executed in the following order:

1) All callbacks registered with OnBeforeAny are executed in parallel. 2) All callbacks registered with OnMetaEvent... are executed in parallel in case the Event has actions. 3) All callbacks registered with OnAfterAny are executed in parallel.

on any error all callbacks registered with OnError are executed in parallel.

func (*EventHandler) MilestoneEvent

MilestoneEvent handles github.MilestoneEvent.

Callbacks are executed in the following order:

1) All callbacks registered with OnBeforeAny are executed in parallel. 2) All callbacks registered with OnMilestoneEvent... are executed in parallel in case the Event has actions. 3) All callbacks registered with OnAfterAny are executed in parallel.

on any error all callbacks registered with OnError are executed in parallel.

func (*EventHandler) OnAfterAny

func (g *EventHandler) OnAfterAny(callbacks ...EventHandleFunc)

OnAfterAny registers callbacks which are triggered after any event.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnAfterAny must be used. Callbacks are executed in parallel.

func (*EventHandler) OnBeforeAny

func (g *EventHandler) OnBeforeAny(callbacks ...EventHandleFunc)

OnBeforeAny registers callbacks which are triggered before any event.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnBeforeAny must be used. Callbacks are executed in parallel.

func (*EventHandler) OnBranchProtectionRuleEventAny

func (g *EventHandler) OnBranchProtectionRuleEventAny(callbacks ...BranchProtectionRuleEventHandleFunc)

OnBranchProtectionRuleEventAny registers callbacks listening to any events of type github.BranchProtectionRuleEvent

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnBranchProtectionRuleEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#branch_protection_rule

func (*EventHandler) OnBranchProtectionRuleEventCreated

func (g *EventHandler) OnBranchProtectionRuleEventCreated(callbacks ...BranchProtectionRuleEventHandleFunc)

OnBranchProtectionRuleEventCreated registers callbacks listening to events of type github.BranchProtectionRuleEvent and action 'created'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnBranchProtectionRuleEventCreated must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#branch_protection_rule

func (*EventHandler) OnBranchProtectionRuleEventDeleted

func (g *EventHandler) OnBranchProtectionRuleEventDeleted(callbacks ...BranchProtectionRuleEventHandleFunc)

OnBranchProtectionRuleEventDeleted registers callbacks listening to events of type github.BranchProtectionRuleEvent and action 'deleted'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnBranchProtectionRuleEventDeleted must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#branch_protection_rule

func (*EventHandler) OnBranchProtectionRuleEventEdited

func (g *EventHandler) OnBranchProtectionRuleEventEdited(callbacks ...BranchProtectionRuleEventHandleFunc)

OnBranchProtectionRuleEventEdited registers callbacks listening to events of type github.BranchProtectionRuleEvent and action 'edited'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnBranchProtectionRuleEventEdited must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#branch_protection_rule

func (*EventHandler) OnCheckRunEventAny

func (g *EventHandler) OnCheckRunEventAny(callbacks ...CheckRunEventHandleFunc)

OnCheckRunEventAny registers callbacks listening to any events of type github.CheckRunEvent

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnCheckRunEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#check_run

func (*EventHandler) OnCheckRunEventCompleted

func (g *EventHandler) OnCheckRunEventCompleted(callbacks ...CheckRunEventHandleFunc)

OnCheckRunEventCompleted registers callbacks listening to events of type github.CheckRunEvent and action 'completed'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnCheckRunEventCompleted must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#check_run

func (*EventHandler) OnCheckRunEventCreated

func (g *EventHandler) OnCheckRunEventCreated(callbacks ...CheckRunEventHandleFunc)

OnCheckRunEventCreated registers callbacks listening to events of type github.CheckRunEvent and action 'created'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnCheckRunEventCreated must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#check_run

func (*EventHandler) OnCheckRunEventReRequested

func (g *EventHandler) OnCheckRunEventReRequested(callbacks ...CheckRunEventHandleFunc)

OnCheckRunEventReRequested registers callbacks listening to events of type github.CheckRunEvent and action 'rerequested'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnCheckRunEventReRequested must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#check_run

func (*EventHandler) OnCheckRunEventRequestAction

func (g *EventHandler) OnCheckRunEventRequestAction(callbacks ...CheckRunEventHandleFunc)

OnCheckRunEventRequestAction registers callbacks listening to events of type github.CheckRunEvent and action 'requested_action'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnCheckRunEventRequestAction must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#check_run

func (*EventHandler) OnCheckSuiteEventAny

func (g *EventHandler) OnCheckSuiteEventAny(callbacks ...CheckSuiteEventHandleFunc)

OnCheckSuiteEventAny registers callbacks listening to any events of type github.CheckSuiteEvent

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnCheckSuiteEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#check_suite

func (*EventHandler) OnCheckSuiteEventCompleted

func (g *EventHandler) OnCheckSuiteEventCompleted(callbacks ...CheckSuiteEventHandleFunc)

OnCheckSuiteEventCompleted registers callbacks listening to events of type github.CheckSuiteEvent and action 'completed'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnCheckSuiteEventCompleted must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#check_suite

func (*EventHandler) OnCheckSuiteEventReRequested

func (g *EventHandler) OnCheckSuiteEventReRequested(callbacks ...CheckSuiteEventHandleFunc)

OnCheckSuiteEventReRequested registers callbacks listening to events of type github.CheckSuiteEvent and action 'rerequested'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnCheckSuiteEventReRequested must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#check_suite

func (*EventHandler) OnCheckSuiteEventRequested

func (g *EventHandler) OnCheckSuiteEventRequested(callbacks ...CheckSuiteEventHandleFunc)

OnCheckSuiteEventRequested registers callbacks listening to events of type github.CheckSuiteEvent and action 'requested'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnCheckSuiteEventRequested must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#check_suite

func (*EventHandler) OnCommitCommentEventAny

func (g *EventHandler) OnCommitCommentEventAny(callbacks ...CommitCommentEventHandleFunc)

OnCommitCommentEventAny registers callbacks listening to any events of type github.CommitCommentEvent

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnCommitCommentEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#commit_comment

func (*EventHandler) OnCommitCommentEventCreated

func (g *EventHandler) OnCommitCommentEventCreated(callbacks ...CommitCommentEventHandleFunc)

OnCommitCommentEventCreated registers callbacks listening to events of type github.CommitCommentEvent and action 'created'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnCommitCommentEventCreated must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#commit_comment

func (*EventHandler) OnCreateEventAny

func (g *EventHandler) OnCreateEventAny(callbacks ...CreateEventHandleFunc)

OnCreateEventAny registers callbacks listening to any events of type github.CreateEvent

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnCreateEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#create

func (*EventHandler) OnDeleteEventAny

func (g *EventHandler) OnDeleteEventAny(callbacks ...DeleteEventHandleFunc)

OnDeleteEventAny registers callbacks listening to any events of type github.DeleteEvent

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnDeleteEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#delete

func (*EventHandler) OnDeployKeyEventAny

func (g *EventHandler) OnDeployKeyEventAny(callbacks ...DeployKeyEventHandleFunc)

OnDeployKeyEventAny registers callbacks listening to any events of type github.DeployKeyEvent

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnDeployKeyEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#deploy_key

func (*EventHandler) OnDeployKeyEventCreated

func (g *EventHandler) OnDeployKeyEventCreated(callbacks ...DeployKeyEventHandleFunc)

OnDeployKeyEventCreated registers callbacks listening to events of type github.DeployKeyEvent and action 'created'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnDeployKeyEventCreated must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#deploy_key

func (*EventHandler) OnDeployKeyEventDeleted

func (g *EventHandler) OnDeployKeyEventDeleted(callbacks ...DeployKeyEventHandleFunc)

OnDeployKeyEventDeleted registers callbacks listening to events of type github.DeployKeyEvent and action 'deleted'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnDeployKeyEventDeleted must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#deploy_key

func (*EventHandler) OnDeploymentEventAny

func (g *EventHandler) OnDeploymentEventAny(callbacks ...DeploymentEventHandleFunc)

OnDeploymentEventAny registers callbacks listening to any events of type github.DeploymentEvent

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnDeploymentEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#deployment

func (*EventHandler) OnDeploymentStatusEventAny

func (g *EventHandler) OnDeploymentStatusEventAny(callbacks ...DeploymentStatusEventHandleFunc)

OnDeploymentStatusEventAny registers callbacks listening to any events of type github.DeploymentStatusEvent

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnDeploymentStatusEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#deployment_status

func (*EventHandler) OnDiscussionEventAnswered

func (g *EventHandler) OnDiscussionEventAnswered(callbacks ...DiscussionEventHandleFunc)

OnDiscussionEventAnswered registers callbacks listening to events of type github.DiscussionEvent and action 'answered'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnDiscussionEventAnswered must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#discussion

func (*EventHandler) OnDiscussionEventAny

func (g *EventHandler) OnDiscussionEventAny(callbacks ...DiscussionEventHandleFunc)

OnDiscussionEventAny registers callbacks listening to any events of type github.DiscussionEvent

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnDiscussionEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#discussion

func (*EventHandler) OnDiscussionEventCategoryChanged

func (g *EventHandler) OnDiscussionEventCategoryChanged(callbacks ...DiscussionEventHandleFunc)

OnDiscussionEventCategoryChanged registers callbacks listening to events of type github.DiscussionEvent and action 'category_changed'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnDiscussionEventCategoryChanged must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#discussion

func (*EventHandler) OnDiscussionEventCreated

func (g *EventHandler) OnDiscussionEventCreated(callbacks ...DiscussionEventHandleFunc)

OnDiscussionEventCreated registers callbacks listening to events of type github.DiscussionEvent and action 'created'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnDiscussionEventCreated must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#discussion

func (*EventHandler) OnDiscussionEventDeleted

func (g *EventHandler) OnDiscussionEventDeleted(callbacks ...DiscussionEventHandleFunc)

OnDiscussionEventDeleted registers callbacks listening to events of type github.DiscussionEvent and action 'deleted'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnDiscussionEventDeleted must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#discussion

func (*EventHandler) OnDiscussionEventEdited

func (g *EventHandler) OnDiscussionEventEdited(callbacks ...DiscussionEventHandleFunc)

OnDiscussionEventEdited registers callbacks listening to events of type github.DiscussionEvent and action 'edited'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnDiscussionEventEdited must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#discussion

func (*EventHandler) OnDiscussionEventLabeled

func (g *EventHandler) OnDiscussionEventLabeled(callbacks ...DiscussionEventHandleFunc)

OnDiscussionEventLabeled registers callbacks listening to events of type github.DiscussionEvent and action 'labeled'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnDiscussionEventLabeled must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#discussion

func (*EventHandler) OnDiscussionEventLocked

func (g *EventHandler) OnDiscussionEventLocked(callbacks ...DiscussionEventHandleFunc)

OnDiscussionEventLocked registers callbacks listening to events of type github.DiscussionEvent and action 'locked'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnDiscussionEventLocked must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#discussion

func (*EventHandler) OnDiscussionEventPinned

func (g *EventHandler) OnDiscussionEventPinned(callbacks ...DiscussionEventHandleFunc)

OnDiscussionEventPinned registers callbacks listening to events of type github.DiscussionEvent and action 'pinned'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnDiscussionEventPinned must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#discussion

func (*EventHandler) OnDiscussionEventTransferred

func (g *EventHandler) OnDiscussionEventTransferred(callbacks ...DiscussionEventHandleFunc)

OnDiscussionEventTransferred registers callbacks listening to events of type github.DiscussionEvent and action 'transferred'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnDiscussionEventTransferred must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#discussion

func (*EventHandler) OnDiscussionEventUnanswered

func (g *EventHandler) OnDiscussionEventUnanswered(callbacks ...DiscussionEventHandleFunc)

OnDiscussionEventUnanswered registers callbacks listening to events of type github.DiscussionEvent and action 'unanswered'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnDiscussionEventUnanswered must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#discussion

func (*EventHandler) OnDiscussionEventUnlabeled

func (g *EventHandler) OnDiscussionEventUnlabeled(callbacks ...DiscussionEventHandleFunc)

OnDiscussionEventUnlabeled registers callbacks listening to events of type github.DiscussionEvent and action 'unlabeled'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnDiscussionEventUnlabeled must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#discussion

func (*EventHandler) OnDiscussionEventUnlocked

func (g *EventHandler) OnDiscussionEventUnlocked(callbacks ...DiscussionEventHandleFunc)

OnDiscussionEventUnlocked registers callbacks listening to events of type github.DiscussionEvent and action 'unlocked'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnDiscussionEventUnlocked must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#discussion

func (*EventHandler) OnDiscussionEventUnpinned

func (g *EventHandler) OnDiscussionEventUnpinned(callbacks ...DiscussionEventHandleFunc)

OnDiscussionEventUnpinned registers callbacks listening to events of type github.DiscussionEvent and action 'unpinned'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnDiscussionEventUnpinned must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#discussion

func (*EventHandler) OnError

func (g *EventHandler) OnError(callbacks ...ErrorEventHandleFunc)

OnError registers callbacks which are triggered whenever an error occurs.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnError must be used. Callbacks are executed in parallel.

func (*EventHandler) OnForkEventAny

func (g *EventHandler) OnForkEventAny(callbacks ...ForkEventHandleFunc)

OnForkEventAny registers callbacks listening to any events of type github.ForkEvent

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnForkEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#fork

func (*EventHandler) OnGitHubAppAuthorizationEventAny

func (g *EventHandler) OnGitHubAppAuthorizationEventAny(callbacks ...GitHubAppAuthorizationEventHandleFunc)

OnGitHubAppAuthorizationEventAny registers callbacks listening to any events of type github.GitHubAppAuthorizationEvent

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnGitHubAppAuthorizationEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#github_app_authorization

func (*EventHandler) OnGitHubAppAuthorizationEventRevoked

func (g *EventHandler) OnGitHubAppAuthorizationEventRevoked(callbacks ...GitHubAppAuthorizationEventHandleFunc)

OnGitHubAppAuthorizationEventRevoked registers callbacks listening to events of type github.GitHubAppAuthorizationEvent and action 'revoked'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnGitHubAppAuthorizationEventRevoked must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#github_app_authorization

func (*EventHandler) OnGollumEventAny

func (g *EventHandler) OnGollumEventAny(callbacks ...GollumEventHandleFunc)

OnGollumEventAny registers callbacks listening to any events of type github.GollumEvent

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnGollumEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#gollum

func (*EventHandler) OnInstallationEventAny

func (g *EventHandler) OnInstallationEventAny(callbacks ...InstallationEventHandleFunc)

OnInstallationEventAny registers callbacks listening to any events of type github.InstallationEvent

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnInstallationEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#installation

func (*EventHandler) OnInstallationEventCreated

func (g *EventHandler) OnInstallationEventCreated(callbacks ...InstallationEventHandleFunc)

OnInstallationEventCreated registers callbacks listening to events of type github.InstallationEvent and action 'created'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnInstallationEventCreated must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#installation

func (*EventHandler) OnInstallationEventDeleted

func (g *EventHandler) OnInstallationEventDeleted(callbacks ...InstallationEventHandleFunc)

OnInstallationEventDeleted registers callbacks listening to events of type github.InstallationEvent and action 'deleted'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnInstallationEventDeleted must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#installation

func (*EventHandler) OnInstallationEventEventSuspend

func (g *EventHandler) OnInstallationEventEventSuspend(callbacks ...InstallationEventHandleFunc)

OnInstallationEventEventSuspend registers callbacks listening to events of type github.InstallationEvent and action 'suspend'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnInstallationEventEventSuspend must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#installation

func (*EventHandler) OnInstallationEventEventUnsuspend

func (g *EventHandler) OnInstallationEventEventUnsuspend(callbacks ...InstallationEventHandleFunc)

OnInstallationEventEventUnsuspend registers callbacks listening to events of type github.InstallationEvent and action 'unsuspend'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnInstallationEventEventUnsuspend must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#installation

func (*EventHandler) OnInstallationEventNewPermissionsAccepted

func (g *EventHandler) OnInstallationEventNewPermissionsAccepted(callbacks ...InstallationEventHandleFunc)

OnInstallationEventNewPermissionsAccepted registers callbacks listening to events of type github.InstallationEvent and action 'new_permissions_accepted'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnInstallationEventNewPermissionsAccepted must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#installation

func (*EventHandler) OnInstallationRepositoriesEventAdded

func (g *EventHandler) OnInstallationRepositoriesEventAdded(callbacks ...InstallationRepositoriesEventHandleFunc)

OnInstallationRepositoriesEventAdded registers callbacks listening to events of type github.InstallationRepositoriesEvent and action 'added'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnInstallationRepositoriesEventAdded must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#installation_repositories

func (*EventHandler) OnInstallationRepositoriesEventAny

func (g *EventHandler) OnInstallationRepositoriesEventAny(callbacks ...InstallationRepositoriesEventHandleFunc)

OnInstallationRepositoriesEventAny registers callbacks listening to any events of type github.InstallationRepositoriesEvent

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnInstallationRepositoriesEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#installation_repositories

func (*EventHandler) OnInstallationRepositoriesEventRemoved

func (g *EventHandler) OnInstallationRepositoriesEventRemoved(callbacks ...InstallationRepositoriesEventHandleFunc)

OnInstallationRepositoriesEventRemoved registers callbacks listening to events of type github.InstallationRepositoriesEvent and action 'removed'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnInstallationRepositoriesEventRemoved must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#installation_repositories

func (*EventHandler) OnIssueCommentCreated

func (g *EventHandler) OnIssueCommentCreated(callbacks ...IssueCommentEventHandleFunc)

OnIssueCommentCreated registers callbacks listening to events of type github.IssueCommentEvent and action 'created'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnIssueCommentCreated must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issue_comment

func (*EventHandler) OnIssueCommentDeleted

func (g *EventHandler) OnIssueCommentDeleted(callbacks ...IssueCommentEventHandleFunc)

OnIssueCommentDeleted registers callbacks listening to events of type github.IssueCommentEvent and action 'deleted'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnIssueCommentDeleted must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issue_comment

func (*EventHandler) OnIssueCommentEdited

func (g *EventHandler) OnIssueCommentEdited(callbacks ...IssueCommentEventHandleFunc)

OnIssueCommentEdited registers callbacks listening to events of type github.IssueCommentEvent and action 'edited'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnIssueCommentEdited must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issue_comment

func (*EventHandler) OnIssueCommentEventAny

func (g *EventHandler) OnIssueCommentEventAny(callbacks ...IssueCommentEventHandleFunc)

OnIssueCommentEventAny registers callbacks listening to any events of type github.IssueCommentEvent

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnIssueCommentEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issue_comment

func (*EventHandler) OnIssuesEventAny

func (g *EventHandler) OnIssuesEventAny(callbacks ...IssuesEventHandleFunc)

OnIssuesEventAny registers callbacks listening to any events of type github.IssuesEvent

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnIssuesEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issues

func (*EventHandler) OnIssuesEventAssigned

func (g *EventHandler) OnIssuesEventAssigned(callbacks ...IssuesEventHandleFunc)

OnIssuesEventAssigned registers callbacks listening to events of type github.IssuesEvent and action 'assigned'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnIssuesEventAssigned must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issues

func (*EventHandler) OnIssuesEventClosed

func (g *EventHandler) OnIssuesEventClosed(callbacks ...IssuesEventHandleFunc)

OnIssuesEventClosed registers callbacks listening to events of type github.IssuesEvent and action 'closed'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnIssuesEventClosed must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issues

func (*EventHandler) OnIssuesEventDeMilestoned

func (g *EventHandler) OnIssuesEventDeMilestoned(callbacks ...IssuesEventHandleFunc)

OnIssuesEventDeMilestoned registers callbacks listening to events of type github.IssuesEvent and action 'demilestoned'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnIssuesEventDeMilestoned must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issues

func (*EventHandler) OnIssuesEventDeleted

func (g *EventHandler) OnIssuesEventDeleted(callbacks ...IssuesEventHandleFunc)

OnIssuesEventDeleted registers callbacks listening to events of type github.IssuesEvent and action 'deleted'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnIssuesEventDeleted must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issues

func (*EventHandler) OnIssuesEventEdited

func (g *EventHandler) OnIssuesEventEdited(callbacks ...IssuesEventHandleFunc)

OnIssuesEventEdited registers callbacks listening to events of type github.IssuesEvent and action 'edited'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnIssuesEventEdited must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issues

func (*EventHandler) OnIssuesEventLabeled

func (g *EventHandler) OnIssuesEventLabeled(callbacks ...IssuesEventHandleFunc)

OnIssuesEventLabeled registers callbacks listening to events of type github.IssuesEvent and action 'labeled'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnIssuesEventLabeled must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issues

func (*EventHandler) OnIssuesEventLocked

func (g *EventHandler) OnIssuesEventLocked(callbacks ...IssuesEventHandleFunc)

OnIssuesEventLocked registers callbacks listening to events of type github.IssuesEvent and action 'locked'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnIssuesEventLocked must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issues

func (*EventHandler) OnIssuesEventMilestoned

func (g *EventHandler) OnIssuesEventMilestoned(callbacks ...IssuesEventHandleFunc)

OnIssuesEventMilestoned registers callbacks listening to events of type github.IssuesEvent and action 'milestoned'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnIssuesEventMilestoned must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issues

func (*EventHandler) OnIssuesEventOpened

func (g *EventHandler) OnIssuesEventOpened(callbacks ...IssuesEventHandleFunc)

OnIssuesEventOpened registers callbacks listening to events of type github.IssuesEvent and action 'opened'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnIssuesEventOpened must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issues

func (*EventHandler) OnIssuesEventPinned

func (g *EventHandler) OnIssuesEventPinned(callbacks ...IssuesEventHandleFunc)

OnIssuesEventPinned registers callbacks listening to events of type github.IssuesEvent and action 'pinned'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnIssuesEventPinned must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issues

func (*EventHandler) OnIssuesEventReopened

func (g *EventHandler) OnIssuesEventReopened(callbacks ...IssuesEventHandleFunc)

OnIssuesEventReopened registers callbacks listening to events of type github.IssuesEvent and action 'reopened'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnIssuesEventReopened must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issues

func (*EventHandler) OnIssuesEventTransferred

func (g *EventHandler) OnIssuesEventTransferred(callbacks ...IssuesEventHandleFunc)

OnIssuesEventTransferred registers callbacks listening to events of type github.IssuesEvent and action 'transferred'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnIssuesEventTransferred must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issues

func (*EventHandler) OnIssuesEventUnassigned

func (g *EventHandler) OnIssuesEventUnassigned(callbacks ...IssuesEventHandleFunc)

OnIssuesEventUnassigned registers callbacks listening to events of type github.IssuesEvent and action 'unassigned'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnIssuesEventUnassigned must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issues

func (*EventHandler) OnIssuesEventUnlabeled

func (g *EventHandler) OnIssuesEventUnlabeled(callbacks ...IssuesEventHandleFunc)

OnIssuesEventUnlabeled registers callbacks listening to events of type github.IssuesEvent and action 'unlabeled'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnIssuesEventUnlabeled must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issues

func (*EventHandler) OnIssuesEventUnlocked

func (g *EventHandler) OnIssuesEventUnlocked(callbacks ...IssuesEventHandleFunc)

OnIssuesEventUnlocked registers callbacks listening to events of type github.IssuesEvent and action 'unlocked'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnIssuesEventUnlocked must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issues

func (*EventHandler) OnIssuesEventUnpinned

func (g *EventHandler) OnIssuesEventUnpinned(callbacks ...IssuesEventHandleFunc)

OnIssuesEventUnpinned registers callbacks listening to events of type github.IssuesEvent and action 'unpinned'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnIssuesEventUnpinned must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issues

func (*EventHandler) OnLabelEventAny

func (g *EventHandler) OnLabelEventAny(callbacks ...LabelEventHandleFunc)

OnLabelEventAny registers callbacks listening to any events of type github.LabelEvent

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnLabelEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#label

func (*EventHandler) OnLabelEventCreated

func (g *EventHandler) OnLabelEventCreated(callbacks ...LabelEventHandleFunc)

OnLabelEventCreated registers callbacks listening to events of type github.LabelEvent and action 'created'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnLabelEventCreated must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#label

func (*EventHandler) OnLabelEventDeleted

func (g *EventHandler) OnLabelEventDeleted(callbacks ...LabelEventHandleFunc)

OnLabelEventDeleted registers callbacks listening to events of type github.LabelEvent and action 'deleted'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnLabelEventDeleted must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#label

func (*EventHandler) OnLabelEventEdited

func (g *EventHandler) OnLabelEventEdited(callbacks ...LabelEventHandleFunc)

OnLabelEventEdited registers callbacks listening to events of type github.LabelEvent and action 'edited'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnLabelEventEdited must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#label

func (*EventHandler) OnMarketplacePurchaseEventAny

func (g *EventHandler) OnMarketplacePurchaseEventAny(callbacks ...MarketplacePurchaseEventHandleFunc)

OnMarketplacePurchaseEventAny registers callbacks listening to any events of type github.MarketplacePurchaseEvent

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnMarketplacePurchaseEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#marketplace_purchase

func (*EventHandler) OnMarketplacePurchaseEventCancelled

func (g *EventHandler) OnMarketplacePurchaseEventCancelled(callbacks ...MarketplacePurchaseEventHandleFunc)

OnMarketplacePurchaseEventCancelled registers callbacks listening to events of type github.MarketplacePurchaseEvent and action 'cancelled'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnMarketplacePurchaseEventCancelled must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#marketplace_purchase

func (*EventHandler) OnMarketplacePurchaseEventChanged

func (g *EventHandler) OnMarketplacePurchaseEventChanged(callbacks ...MarketplacePurchaseEventHandleFunc)

OnMarketplacePurchaseEventChanged registers callbacks listening to events of type github.MarketplacePurchaseEvent and action 'changed'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnMarketplacePurchaseEventChanged must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#marketplace_purchase

func (*EventHandler) OnMarketplacePurchaseEventPendingChange

func (g *EventHandler) OnMarketplacePurchaseEventPendingChange(callbacks ...MarketplacePurchaseEventHandleFunc)

OnMarketplacePurchaseEventPendingChange registers callbacks listening to events of type github.MarketplacePurchaseEvent and action 'pending_change'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnMarketplacePurchaseEventPendingChange must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#marketplace_purchase

func (*EventHandler) OnMarketplacePurchaseEventPendingChangeCancelled

func (g *EventHandler) OnMarketplacePurchaseEventPendingChangeCancelled(callbacks ...MarketplacePurchaseEventHandleFunc)

OnMarketplacePurchaseEventPendingChangeCancelled registers callbacks listening to events of type github.MarketplacePurchaseEvent and action 'pending_change_cancelled'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnMarketplacePurchaseEventPendingChangeCancelled must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#marketplace_purchase

func (*EventHandler) OnMarketplacePurchaseEventPurchased

func (g *EventHandler) OnMarketplacePurchaseEventPurchased(callbacks ...MarketplacePurchaseEventHandleFunc)

OnMarketplacePurchaseEventPurchased registers callbacks listening to events of type github.MarketplacePurchaseEvent and action 'purchased'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnMarketplacePurchaseEventPurchased must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#marketplace_purchase

func (*EventHandler) OnMemberEventAdded

func (g *EventHandler) OnMemberEventAdded(callbacks ...MemberEventHandleFunc)

OnMemberEventAdded registers callbacks listening to events of type github.MemberEvent and action 'added'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnMemberEventAdded must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#member

func (*EventHandler) OnMemberEventAny

func (g *EventHandler) OnMemberEventAny(callbacks ...MemberEventHandleFunc)

OnMemberEventAny registers callbacks listening to any events of type github.MemberEvent

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnMemberEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#member

func (*EventHandler) OnMemberEventEdited

func (g *EventHandler) OnMemberEventEdited(callbacks ...MemberEventHandleFunc)

OnMemberEventEdited registers callbacks listening to events of type github.MemberEvent and action 'edited'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnMemberEventEdited must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#member

func (*EventHandler) OnMemberEventRemoved

func (g *EventHandler) OnMemberEventRemoved(callbacks ...MemberEventHandleFunc)

OnMemberEventRemoved registers callbacks listening to events of type github.MemberEvent and action 'removed'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnMemberEventRemoved must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#member

func (*EventHandler) OnMembershipEventAdded

func (g *EventHandler) OnMembershipEventAdded(callbacks ...MembershipEventHandleFunc)

OnMembershipEventAdded registers callbacks listening to events of type github.MembershipEvent and action 'added'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnMembershipEventAdded must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#membership

func (*EventHandler) OnMembershipEventAny

func (g *EventHandler) OnMembershipEventAny(callbacks ...MembershipEventHandleFunc)

OnMembershipEventAny registers callbacks listening to any events of type github.MembershipEvent

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnMembershipEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#membership

func (*EventHandler) OnMembershipEventRemoved

func (g *EventHandler) OnMembershipEventRemoved(callbacks ...MembershipEventHandleFunc)

OnMembershipEventRemoved registers callbacks listening to events of type github.MembershipEvent and action 'removed'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnMembershipEventRemoved must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#membership

func (*EventHandler) OnMergeGroupEventAny added in v1.12.0

func (g *EventHandler) OnMergeGroupEventAny(callbacks ...MergeGroupEventHandleFunc)

OnMergeGroupEventAny registers callbacks listening to any events of type github.MergeGroupEvent

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnMergeGroupEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#merge_group_event

func (*EventHandler) OnMergeGroupEventChecksRequested added in v1.12.0

func (g *EventHandler) OnMergeGroupEventChecksRequested(callbacks ...MergeGroupEventHandleFunc)

OnMergeGroupEventChecksRequested registers callbacks listening to events of type github.MergeGroupEvent and action 'checks_requested'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnMergeGroupEventChecksRequested must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#merge_group_event

func (*EventHandler) OnMergeGroupEventDestroyed added in v1.12.0

func (g *EventHandler) OnMergeGroupEventDestroyed(callbacks ...MergeGroupEventHandleFunc)

OnMergeGroupEventDestroyed registers callbacks listening to events of type github.MergeGroupEvent and action 'destroyed'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnMergeGroupEventDestroyed must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#merge_group_event

func (*EventHandler) OnMetaEventAny

func (g *EventHandler) OnMetaEventAny(callbacks ...MetaEventHandleFunc)

OnMetaEventAny registers callbacks listening to any events of type github.MetaEvent

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnMetaEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#meta

func (*EventHandler) OnMilestoneEventAny

func (g *EventHandler) OnMilestoneEventAny(callbacks ...MilestoneEventHandleFunc)

OnMilestoneEventAny registers callbacks listening to any events of type github.MilestoneEvent

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnMilestoneEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#milestone

func (*EventHandler) OnMilestoneEventClosed

func (g *EventHandler) OnMilestoneEventClosed(callbacks ...MilestoneEventHandleFunc)

OnMilestoneEventClosed registers callbacks listening to events of type github.MilestoneEvent and action 'closed'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnMilestoneEventClosed must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#milestone

func (*EventHandler) OnMilestoneEventCreated

func (g *EventHandler) OnMilestoneEventCreated(callbacks ...MilestoneEventHandleFunc)

OnMilestoneEventCreated registers callbacks listening to events of type github.MilestoneEvent and action 'created'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnMilestoneEventCreated must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#milestone

func (*EventHandler) OnMilestoneEventDeleted

func (g *EventHandler) OnMilestoneEventDeleted(callbacks ...MilestoneEventHandleFunc)

OnMilestoneEventDeleted registers callbacks listening to events of type github.MilestoneEvent and action 'deleted'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnMilestoneEventDeleted must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#milestone

func (*EventHandler) OnMilestoneEventEdited

func (g *EventHandler) OnMilestoneEventEdited(callbacks ...MilestoneEventHandleFunc)

OnMilestoneEventEdited registers callbacks listening to events of type github.MilestoneEvent and action 'edited'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnMilestoneEventEdited must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#milestone

func (*EventHandler) OnMilestoneEventOpened

func (g *EventHandler) OnMilestoneEventOpened(callbacks ...MilestoneEventHandleFunc)

OnMilestoneEventOpened registers callbacks listening to events of type github.MilestoneEvent and action 'opened'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnMilestoneEventOpened must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#milestone

func (*EventHandler) OnOrgBlockEventAny

func (g *EventHandler) OnOrgBlockEventAny(callbacks ...OrgBlockEventHandleFunc)

OnOrgBlockEventAny registers callbacks listening to any events of type github.OrgBlockEvent

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnOrgBlockEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#org_block

func (*EventHandler) OnOrgBlockEventBlocked

func (g *EventHandler) OnOrgBlockEventBlocked(callbacks ...OrgBlockEventHandleFunc)

OnOrgBlockEventBlocked registers callbacks listening to events of type github.OrgBlockEvent and action 'blocked'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnOrgBlockEventBlocked must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#org_block

func (*EventHandler) OnOrgBlockEventUnblocked

func (g *EventHandler) OnOrgBlockEventUnblocked(callbacks ...OrgBlockEventHandleFunc)

OnOrgBlockEventUnblocked registers callbacks listening to events of type github.OrgBlockEvent and action 'unblocked'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnOrgBlockEventUnblocked must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#org_block

func (*EventHandler) OnOrganizationEventAny

func (g *EventHandler) OnOrganizationEventAny(callbacks ...OrganizationEventHandleFunc)

OnOrganizationEventAny registers callbacks listening to any events of type github.OrganizationEvent

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnOrganizationEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#organization

func (*EventHandler) OnOrganizationEventDeleted

func (g *EventHandler) OnOrganizationEventDeleted(callbacks ...OrganizationEventHandleFunc)

OnOrganizationEventDeleted registers callbacks listening to events of type github.OrganizationEvent and action 'deleted'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnOrganizationEventDeleted must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#organization

func (*EventHandler) OnOrganizationEventMemberAdded

func (g *EventHandler) OnOrganizationEventMemberAdded(callbacks ...OrganizationEventHandleFunc)

OnOrganizationEventMemberAdded registers callbacks listening to events of type github.OrganizationEvent and action 'member_added'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnOrganizationEventMemberAdded must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#organization

func (*EventHandler) OnOrganizationEventMemberInvited

func (g *EventHandler) OnOrganizationEventMemberInvited(callbacks ...OrganizationEventHandleFunc)

OnOrganizationEventMemberInvited registers callbacks listening to events of type github.OrganizationEvent and action 'member_invited'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnOrganizationEventMemberInvited must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#organization

func (*EventHandler) OnOrganizationEventMemberRemoved

func (g *EventHandler) OnOrganizationEventMemberRemoved(callbacks ...OrganizationEventHandleFunc)

OnOrganizationEventMemberRemoved registers callbacks listening to events of type github.OrganizationEvent and action 'member_removed'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnOrganizationEventMemberRemoved must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#organization

func (*EventHandler) OnOrganizationEventRenamed

func (g *EventHandler) OnOrganizationEventRenamed(callbacks ...OrganizationEventHandleFunc)

OnOrganizationEventRenamed registers callbacks listening to events of type github.OrganizationEvent and action 'renamed'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnOrganizationEventRenamed must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#organization

func (*EventHandler) OnPackageEventAny

func (g *EventHandler) OnPackageEventAny(callbacks ...PackageEventHandleFunc)

OnPackageEventAny registers callbacks listening to any events of type github.PackageEvent

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnPackageEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#package

func (*EventHandler) OnPackageEventPublished

func (g *EventHandler) OnPackageEventPublished(callbacks ...PackageEventHandleFunc)

OnPackageEventPublished registers callbacks listening to events of type github.PackageEvent and action 'published'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnPackageEventPublished must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#package

func (*EventHandler) OnPackageEventUpdated

func (g *EventHandler) OnPackageEventUpdated(callbacks ...PackageEventHandleFunc)

OnPackageEventUpdated registers callbacks listening to events of type github.PackageEvent and action 'updated'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnPackageEventUpdated must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#package

func (*EventHandler) OnPageBuildEventAny

func (g *EventHandler) OnPageBuildEventAny(callbacks ...PageBuildEventHandleFunc)

OnPageBuildEventAny registers callbacks listening to any events of type github.PageBuildEvent

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnPageBuildEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#page_build

func (*EventHandler) OnPingEventAny

func (g *EventHandler) OnPingEventAny(callbacks ...PingEventHandleFunc)

OnPingEventAny registers callbacks listening to any events of type github.PingEvent

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnPingEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#ping

func (*EventHandler) OnProjectEventClosed

func (g *EventHandler) OnProjectEventClosed(callbacks ...ProjectV2EventHandleFunc)

OnProjectEventClosed registers callbacks listening to events of type github.ProjectV2Event and action 'closed'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnProjectEventClosed must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#project_v2

func (*EventHandler) OnProjectEventCreated

func (g *EventHandler) OnProjectEventCreated(callbacks ...ProjectV2EventHandleFunc)

OnProjectEventCreated registers callbacks listening to events of type github.ProjectV2Event and action 'created'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnProjectEventCreated must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#project_v2

func (*EventHandler) OnProjectEventDeleted

func (g *EventHandler) OnProjectEventDeleted(callbacks ...ProjectV2EventHandleFunc)

OnProjectEventDeleted registers callbacks listening to events of type github.ProjectV2Event and action 'deleted'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnProjectEventDeleted must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#project_v2

func (*EventHandler) OnProjectEventEdited

func (g *EventHandler) OnProjectEventEdited(callbacks ...ProjectV2EventHandleFunc)

OnProjectEventEdited registers callbacks listening to events of type github.ProjectV2Event and action 'edited'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnProjectEventEdited must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#project_v2

func (*EventHandler) OnProjectEventReopened

func (g *EventHandler) OnProjectEventReopened(callbacks ...ProjectV2EventHandleFunc)

OnProjectEventReopened registers callbacks listening to events of type github.ProjectV2Event and action 'reopened'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnProjectEventReopened must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#project_v2

func (*EventHandler) OnProjectItemEventClosed added in v1.21.0

func (g *EventHandler) OnProjectItemEventClosed(callbacks ...ProjectV2ItemEventHandleFunc)

OnProjectItemEventClosed registers callbacks listening to events of type github.ProjectV2ItemEvent and action 'closed'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnProjectItemEventClosed must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#project_v2_item

func (*EventHandler) OnProjectItemEventConverted added in v1.21.0

func (g *EventHandler) OnProjectItemEventConverted(callbacks ...ProjectV2ItemEventHandleFunc)

OnProjectItemEventConverted registers callbacks listening to events of type github.ProjectV2ItemEvent and action 'converted'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnProjectItemEventConverted must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#project_v2_item

func (*EventHandler) OnProjectItemEventCreated added in v1.21.0

func (g *EventHandler) OnProjectItemEventCreated(callbacks ...ProjectV2ItemEventHandleFunc)

OnProjectItemEventCreated registers callbacks listening to events of type github.ProjectV2ItemEvent and action 'created'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnProjectItemEventCreated must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#project_v2_item

func (*EventHandler) OnProjectItemEventDeleted added in v1.21.0

func (g *EventHandler) OnProjectItemEventDeleted(callbacks ...ProjectV2ItemEventHandleFunc)

OnProjectItemEventDeleted registers callbacks listening to events of type github.ProjectV2ItemEvent and action 'deleted'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnProjectItemEventDeleted must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#project_v2_item

func (*EventHandler) OnProjectItemEventEdited added in v1.21.0

func (g *EventHandler) OnProjectItemEventEdited(callbacks ...ProjectV2ItemEventHandleFunc)

OnProjectItemEventEdited registers callbacks listening to events of type github.ProjectV2ItemEvent and action 'edited'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnProjectItemEventEdited must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#project_v2_item

func (*EventHandler) OnProjectItemEventReopened added in v1.21.0

func (g *EventHandler) OnProjectItemEventReopened(callbacks ...ProjectV2ItemEventHandleFunc)

OnProjectItemEventReopened registers callbacks listening to events of type github.ProjectV2ItemEvent and action 'reopened'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnProjectItemEventReopened must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#project_v2_item

func (*EventHandler) OnProjectItemEventRestored added in v1.21.0

func (g *EventHandler) OnProjectItemEventRestored(callbacks ...ProjectV2ItemEventHandleFunc)

OnProjectItemEventRestored registers callbacks listening to events of type github.ProjectV2ItemEvent and action 'restored'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnProjectItemEventRestored must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#project_v2_item

func (*EventHandler) OnProjectV2EventAny added in v1.21.0

func (g *EventHandler) OnProjectV2EventAny(callbacks ...ProjectV2EventHandleFunc)

OnProjectV2EventAny registers callbacks listening to any events of type github.ProjectV2Event

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnProjectV2EventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#project_v2

func (*EventHandler) OnProjectV2ItemEventAny added in v1.21.0

func (g *EventHandler) OnProjectV2ItemEventAny(callbacks ...ProjectV2ItemEventHandleFunc)

OnProjectV2ItemEventAny registers callbacks listening to any events of type github.ProjectV2ItemEvent

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnProjectV2ItemEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#project_v2_item

func (*EventHandler) OnPublicEventAny

func (g *EventHandler) OnPublicEventAny(callbacks ...PublicEventHandleFunc)

OnPublicEventAny registers callbacks listening to any events of type github.PublicEvent

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnPublicEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#public

func (*EventHandler) OnPullRequestEventAny

func (g *EventHandler) OnPullRequestEventAny(callbacks ...PullRequestEventHandleFunc)

OnPullRequestEventAny registers callbacks listening to any events of type github.PullRequestEvent

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnPullRequestEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request

func (*EventHandler) OnPullRequestEventAssigned

func (g *EventHandler) OnPullRequestEventAssigned(callbacks ...PullRequestEventHandleFunc)

OnPullRequestEventAssigned registers callbacks listening to events of type github.PullRequestEvent and action 'assigned'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnPullRequestEventAssigned must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request

func (*EventHandler) OnPullRequestEventAutoMergeDisabled

func (g *EventHandler) OnPullRequestEventAutoMergeDisabled(callbacks ...PullRequestEventHandleFunc)

OnPullRequestEventAutoMergeDisabled registers callbacks listening to events of type github.PullRequestEvent and action 'auto_merge_disabled'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnPullRequestEventAutoMergeDisabled must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request

func (*EventHandler) OnPullRequestEventAutoMergeEnabled

func (g *EventHandler) OnPullRequestEventAutoMergeEnabled(callbacks ...PullRequestEventHandleFunc)

OnPullRequestEventAutoMergeEnabled registers callbacks listening to events of type github.PullRequestEvent and action 'auto_merge_enabled'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnPullRequestEventAutoMergeEnabled must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request

func (*EventHandler) OnPullRequestEventClosed

func (g *EventHandler) OnPullRequestEventClosed(callbacks ...PullRequestEventHandleFunc)

OnPullRequestEventClosed registers callbacks listening to events of type github.PullRequestEvent and action 'closed'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnPullRequestEventClosed must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request

func (*EventHandler) OnPullRequestEventConvertedToDraft

func (g *EventHandler) OnPullRequestEventConvertedToDraft(callbacks ...PullRequestEventHandleFunc)

OnPullRequestEventConvertedToDraft registers callbacks listening to events of type github.PullRequestEvent and action 'converted_to_draft'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnPullRequestEventConvertedToDraft must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request

func (*EventHandler) OnPullRequestEventEdited

func (g *EventHandler) OnPullRequestEventEdited(callbacks ...PullRequestEventHandleFunc)

OnPullRequestEventEdited registers callbacks listening to events of type github.PullRequestEvent and action 'edited'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnPullRequestEventEdited must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request

func (*EventHandler) OnPullRequestEventLabeled

func (g *EventHandler) OnPullRequestEventLabeled(callbacks ...PullRequestEventHandleFunc)

OnPullRequestEventLabeled registers callbacks listening to events of type github.PullRequestEvent and action 'labeled'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnPullRequestEventLabeled must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request

func (*EventHandler) OnPullRequestEventLocked

func (g *EventHandler) OnPullRequestEventLocked(callbacks ...PullRequestEventHandleFunc)

OnPullRequestEventLocked registers callbacks listening to events of type github.PullRequestEvent and action 'locked'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnPullRequestEventLocked must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request

func (*EventHandler) OnPullRequestEventOpened

func (g *EventHandler) OnPullRequestEventOpened(callbacks ...PullRequestEventHandleFunc)

OnPullRequestEventOpened registers callbacks listening to events of type github.PullRequestEvent and action 'opened'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnPullRequestEventOpened must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request

func (*EventHandler) OnPullRequestEventReadyForReview

func (g *EventHandler) OnPullRequestEventReadyForReview(callbacks ...PullRequestEventHandleFunc)

OnPullRequestEventReadyForReview registers callbacks listening to events of type github.PullRequestEvent and action 'ready_for_review'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnPullRequestEventReadyForReview must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request

func (*EventHandler) OnPullRequestEventReopened

func (g *EventHandler) OnPullRequestEventReopened(callbacks ...PullRequestEventHandleFunc)

OnPullRequestEventReopened registers callbacks listening to events of type github.PullRequestEvent and action 'reopened'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnPullRequestEventReopened must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request

func (*EventHandler) OnPullRequestEventReviewRequestRemoved

func (g *EventHandler) OnPullRequestEventReviewRequestRemoved(callbacks ...PullRequestEventHandleFunc)

OnPullRequestEventReviewRequestRemoved registers callbacks listening to events of type github.PullRequestEvent and action 'review_request_removed'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnPullRequestEventReviewRequestRemoved must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request

func (*EventHandler) OnPullRequestEventReviewRequested

func (g *EventHandler) OnPullRequestEventReviewRequested(callbacks ...PullRequestEventHandleFunc)

OnPullRequestEventReviewRequested registers callbacks listening to events of type github.PullRequestEvent and action 'review_requested'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnPullRequestEventReviewRequested must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request

func (*EventHandler) OnPullRequestEventSynchronize

func (g *EventHandler) OnPullRequestEventSynchronize(callbacks ...PullRequestEventHandleFunc)

OnPullRequestEventSynchronize registers callbacks listening to events of type github.PullRequestEvent and action 'synchronize'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnPullRequestEventSynchronize must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request

func (*EventHandler) OnPullRequestEventUnassigned

func (g *EventHandler) OnPullRequestEventUnassigned(callbacks ...PullRequestEventHandleFunc)

OnPullRequestEventUnassigned registers callbacks listening to events of type github.PullRequestEvent and action 'unassigned'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnPullRequestEventUnassigned must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request

func (*EventHandler) OnPullRequestEventUnlabeled

func (g *EventHandler) OnPullRequestEventUnlabeled(callbacks ...PullRequestEventHandleFunc)

OnPullRequestEventUnlabeled registers callbacks listening to events of type github.PullRequestEvent and action 'unlabeled'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnPullRequestEventUnlabeled must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request

func (*EventHandler) OnPullRequestEventUnlocked

func (g *EventHandler) OnPullRequestEventUnlocked(callbacks ...PullRequestEventHandleFunc)

OnPullRequestEventUnlocked registers callbacks listening to events of type github.PullRequestEvent and action 'unlocked'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnPullRequestEventUnlocked must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request

func (*EventHandler) OnPullRequestReviewCommentEventAny

func (g *EventHandler) OnPullRequestReviewCommentEventAny(callbacks ...PullRequestReviewCommentEventHandleFunc)

OnPullRequestReviewCommentEventAny registers callbacks listening to any events of type github.PullRequestReviewCommentEvent

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnPullRequestReviewCommentEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request_review_comment

func (*EventHandler) OnPullRequestReviewCommentEventCreated

func (g *EventHandler) OnPullRequestReviewCommentEventCreated(callbacks ...PullRequestReviewCommentEventHandleFunc)

OnPullRequestReviewCommentEventCreated registers callbacks listening to events of type github.PullRequestReviewCommentEvent and action 'created'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnPullRequestReviewCommentEventCreated must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request_review_comment

func (*EventHandler) OnPullRequestReviewCommentEventDeleted

func (g *EventHandler) OnPullRequestReviewCommentEventDeleted(callbacks ...PullRequestReviewCommentEventHandleFunc)

OnPullRequestReviewCommentEventDeleted registers callbacks listening to events of type github.PullRequestReviewCommentEvent and action 'deleted'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnPullRequestReviewCommentEventDeleted must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request_review_comment

func (*EventHandler) OnPullRequestReviewCommentEventEdited

func (g *EventHandler) OnPullRequestReviewCommentEventEdited(callbacks ...PullRequestReviewCommentEventHandleFunc)

OnPullRequestReviewCommentEventEdited registers callbacks listening to events of type github.PullRequestReviewCommentEvent and action 'edited'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnPullRequestReviewCommentEventEdited must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request_review_comment

func (*EventHandler) OnPullRequestReviewEventAny

func (g *EventHandler) OnPullRequestReviewEventAny(callbacks ...PullRequestReviewEventHandleFunc)

OnPullRequestReviewEventAny registers callbacks listening to any events of type github.PullRequestReviewEvent

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnPullRequestReviewEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request_review

func (*EventHandler) OnPullRequestReviewEventDismissed

func (g *EventHandler) OnPullRequestReviewEventDismissed(callbacks ...PullRequestReviewEventHandleFunc)

OnPullRequestReviewEventDismissed registers callbacks listening to events of type github.PullRequestReviewEvent and action 'dismissed'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnPullRequestReviewEventDismissed must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request_review

func (*EventHandler) OnPullRequestReviewEventEdited

func (g *EventHandler) OnPullRequestReviewEventEdited(callbacks ...PullRequestReviewEventHandleFunc)

OnPullRequestReviewEventEdited registers callbacks listening to events of type github.PullRequestReviewEvent and action 'edited'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnPullRequestReviewEventEdited must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request_review

func (*EventHandler) OnPullRequestReviewEventSubmitted

func (g *EventHandler) OnPullRequestReviewEventSubmitted(callbacks ...PullRequestReviewEventHandleFunc)

OnPullRequestReviewEventSubmitted registers callbacks listening to events of type github.PullRequestReviewEvent and action 'submitted'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnPullRequestReviewEventSubmitted must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request_review

func (*EventHandler) OnPushEventAny

func (g *EventHandler) OnPushEventAny(callbacks ...PushEventHandleFunc)

OnPushEventAny registers callbacks listening to any events of type github.PushEvent

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnPushEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#push

func (*EventHandler) OnReleaseEventAny

func (g *EventHandler) OnReleaseEventAny(callbacks ...ReleaseEventHandleFunc)

OnReleaseEventAny registers callbacks listening to any events of type github.ReleaseEvent

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnReleaseEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#release

func (*EventHandler) OnReleaseEventCreated

func (g *EventHandler) OnReleaseEventCreated(callbacks ...ReleaseEventHandleFunc)

OnReleaseEventCreated registers callbacks listening to events of type github.ReleaseEvent and action 'created'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnReleaseEventCreated must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#release

func (*EventHandler) OnReleaseEventDeleted

func (g *EventHandler) OnReleaseEventDeleted(callbacks ...ReleaseEventHandleFunc)

OnReleaseEventDeleted registers callbacks listening to events of type github.ReleaseEvent and action 'deleted'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnReleaseEventDeleted must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#release

func (*EventHandler) OnReleaseEventEdited

func (g *EventHandler) OnReleaseEventEdited(callbacks ...ReleaseEventHandleFunc)

OnReleaseEventEdited registers callbacks listening to events of type github.ReleaseEvent and action 'edited'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnReleaseEventEdited must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#release

func (*EventHandler) OnReleaseEventPreReleased

func (g *EventHandler) OnReleaseEventPreReleased(callbacks ...ReleaseEventHandleFunc)

OnReleaseEventPreReleased registers callbacks listening to events of type github.ReleaseEvent and action 'prereleased'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnReleaseEventPreReleased must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#release

func (*EventHandler) OnReleaseEventPublished

func (g *EventHandler) OnReleaseEventPublished(callbacks ...ReleaseEventHandleFunc)

OnReleaseEventPublished registers callbacks listening to events of type github.ReleaseEvent and action 'published'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnReleaseEventPublished must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#release

func (*EventHandler) OnReleaseEventReleased

func (g *EventHandler) OnReleaseEventReleased(callbacks ...ReleaseEventHandleFunc)

OnReleaseEventReleased registers callbacks listening to events of type github.ReleaseEvent and action 'released'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnReleaseEventReleased must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#release

func (*EventHandler) OnReleaseEventUnpublished

func (g *EventHandler) OnReleaseEventUnpublished(callbacks ...ReleaseEventHandleFunc)

OnReleaseEventUnpublished registers callbacks listening to events of type github.ReleaseEvent and action 'unpublished'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnReleaseEventUnpublished must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#release

func (*EventHandler) OnRepositoryDispatchEventAny

func (g *EventHandler) OnRepositoryDispatchEventAny(callbacks ...RepositoryDispatchEventHandleFunc)

OnRepositoryDispatchEventAny registers callbacks listening to any events of type github.RepositoryDispatchEvent

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnRepositoryDispatchEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#repository_dispatch

func (*EventHandler) OnRepositoryEventAny

func (g *EventHandler) OnRepositoryEventAny(callbacks ...RepositoryEventHandleFunc)

OnRepositoryEventAny registers callbacks listening to any events of type github.RepositoryEvent

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnRepositoryEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#repository

func (*EventHandler) OnRepositoryEventArchived

func (g *EventHandler) OnRepositoryEventArchived(callbacks ...RepositoryEventHandleFunc)

OnRepositoryEventArchived registers callbacks listening to events of type github.RepositoryEvent and action 'archived'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnRepositoryEventArchived must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#repository

func (*EventHandler) OnRepositoryEventCreated added in v1.1.1

func (g *EventHandler) OnRepositoryEventCreated(callbacks ...RepositoryEventHandleFunc)

OnRepositoryEventCreated registers callbacks listening to events of type github.RepositoryEvent and action 'created'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnRepositoryEventCreated must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#repository

func (*EventHandler) OnRepositoryEventDeleted

func (g *EventHandler) OnRepositoryEventDeleted(callbacks ...RepositoryEventHandleFunc)

OnRepositoryEventDeleted registers callbacks listening to events of type github.RepositoryEvent and action 'deleted'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnRepositoryEventDeleted must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#repository

func (*EventHandler) OnRepositoryEventEdited

func (g *EventHandler) OnRepositoryEventEdited(callbacks ...RepositoryEventHandleFunc)

OnRepositoryEventEdited registers callbacks listening to events of type github.RepositoryEvent and action 'edited'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnRepositoryEventEdited must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#repository

func (*EventHandler) OnRepositoryEventPrivatized

func (g *EventHandler) OnRepositoryEventPrivatized(callbacks ...RepositoryEventHandleFunc)

OnRepositoryEventPrivatized registers callbacks listening to events of type github.RepositoryEvent and action 'privatized'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnRepositoryEventPrivatized must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#repository

func (*EventHandler) OnRepositoryEventPublicized

func (g *EventHandler) OnRepositoryEventPublicized(callbacks ...RepositoryEventHandleFunc)

OnRepositoryEventPublicized registers callbacks listening to events of type github.RepositoryEvent and action 'publicized'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnRepositoryEventPublicized must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#repository

func (*EventHandler) OnRepositoryEventRenamed

func (g *EventHandler) OnRepositoryEventRenamed(callbacks ...RepositoryEventHandleFunc)

OnRepositoryEventRenamed registers callbacks listening to events of type github.RepositoryEvent and action 'renamed'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnRepositoryEventRenamed must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#repository

func (*EventHandler) OnRepositoryEventTransferred

func (g *EventHandler) OnRepositoryEventTransferred(callbacks ...RepositoryEventHandleFunc)

OnRepositoryEventTransferred registers callbacks listening to events of type github.RepositoryEvent and action 'transferred'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnRepositoryEventTransferred must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#repository

func (*EventHandler) OnRepositoryEventUnarchived

func (g *EventHandler) OnRepositoryEventUnarchived(callbacks ...RepositoryEventHandleFunc)

OnRepositoryEventUnarchived registers callbacks listening to events of type github.RepositoryEvent and action 'unarchived'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnRepositoryEventUnarchived must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#repository

func (*EventHandler) OnRepositoryRulesetEventAny added in v1.20.0

func (g *EventHandler) OnRepositoryRulesetEventAny(callbacks ...RepositoryRulesetEventHandleFunc)

OnRepositoryRulesetEventAny registers callbacks listening to any events of type github.RepositoryRulesetEvent

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnRepositoryRulesetEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#repository_ruleset

func (*EventHandler) OnRepositoryRulesetEventCreated added in v1.20.0

func (g *EventHandler) OnRepositoryRulesetEventCreated(callbacks ...RepositoryRulesetEventHandleFunc)

OnRepositoryRulesetEventCreated registers callbacks listening to events of type github.RepositoryRulesetEvent and action 'created'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnRepositoryRulesetEventCreated must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#repository_ruleset

func (*EventHandler) OnRepositoryRulesetEventDeleted added in v1.20.0

func (g *EventHandler) OnRepositoryRulesetEventDeleted(callbacks ...RepositoryRulesetEventHandleFunc)

OnRepositoryRulesetEventDeleted registers callbacks listening to events of type github.RepositoryRulesetEvent and action 'deleted'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnRepositoryRulesetEventDeleted must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#repository_ruleset

func (*EventHandler) OnRepositoryRulesetEventEdited added in v1.20.0

func (g *EventHandler) OnRepositoryRulesetEventEdited(callbacks ...RepositoryRulesetEventHandleFunc)

OnRepositoryRulesetEventEdited registers callbacks listening to events of type github.RepositoryRulesetEvent and action 'edited'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnRepositoryRulesetEventEdited must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#repository_ruleset

func (*EventHandler) OnRepositoryVulnerabilityAlertEventCreate

func (g *EventHandler) OnRepositoryVulnerabilityAlertEventCreate(callbacks ...RepositoryVulnerabilityAlertEventHandleFunc)

OnRepositoryVulnerabilityAlertEventCreate registers callbacks listening to events of type github.RepositoryVulnerabilityAlertEvent and action 'create'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnRepositoryVulnerabilityAlertEventCreate must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#repository_vulnerability_alert

func (*EventHandler) OnRepositoryVulnerabilityAlertEventDismiss

func (g *EventHandler) OnRepositoryVulnerabilityAlertEventDismiss(callbacks ...RepositoryVulnerabilityAlertEventHandleFunc)

OnRepositoryVulnerabilityAlertEventDismiss registers callbacks listening to events of type github.RepositoryVulnerabilityAlertEvent and action 'dismiss'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnRepositoryVulnerabilityAlertEventDismiss must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#repository_vulnerability_alert

func (*EventHandler) OnRepositoryVulnerabilityAlertEventResolve

func (g *EventHandler) OnRepositoryVulnerabilityAlertEventResolve(callbacks ...RepositoryVulnerabilityAlertEventHandleFunc)

OnRepositoryVulnerabilityAlertEventResolve registers callbacks listening to events of type github.RepositoryVulnerabilityAlertEvent and action 'resolve'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnRepositoryVulnerabilityAlertEventResolve must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#repository_vulnerability_alert

func (*EventHandler) OnStarEventAny

func (g *EventHandler) OnStarEventAny(callbacks ...StarEventHandleFunc)

OnStarEventAny registers callbacks listening to any events of type github.StarEvent

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnStarEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#star

func (*EventHandler) OnStarEventCreated

func (g *EventHandler) OnStarEventCreated(callbacks ...StarEventHandleFunc)

OnStarEventCreated registers callbacks listening to events of type github.StarEvent and action 'created'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnStarEventCreated must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#star

func (*EventHandler) OnStarEventDeleted

func (g *EventHandler) OnStarEventDeleted(callbacks ...StarEventHandleFunc)

OnStarEventDeleted registers callbacks listening to events of type github.StarEvent and action 'deleted'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnStarEventDeleted must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#star

func (*EventHandler) OnStatusEventAny

func (g *EventHandler) OnStatusEventAny(callbacks ...StatusEventHandleFunc)

OnStatusEventAny registers callbacks listening to any events of type github.StatusEvent

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnStatusEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#status

func (*EventHandler) OnTeamAddEventAny

func (g *EventHandler) OnTeamAddEventAny(callbacks ...TeamAddEventHandleFunc)

OnTeamAddEventAny registers callbacks listening to any events of type github.TeamAddEvent

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnTeamAddEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#team_add

func (*EventHandler) OnTeamEventAddedToRepository

func (g *EventHandler) OnTeamEventAddedToRepository(callbacks ...TeamEventHandleFunc)

OnTeamEventAddedToRepository registers callbacks listening to events of type github.TeamEvent and action 'added_to_repository'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnTeamEventAddedToRepository must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#team

func (*EventHandler) OnTeamEventAny

func (g *EventHandler) OnTeamEventAny(callbacks ...TeamEventHandleFunc)

OnTeamEventAny registers callbacks listening to any events of type github.TeamEvent

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnTeamEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#team

func (*EventHandler) OnTeamEventCreated

func (g *EventHandler) OnTeamEventCreated(callbacks ...TeamEventHandleFunc)

OnTeamEventCreated registers callbacks listening to events of type github.TeamEvent and action 'created'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnTeamEventCreated must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#team

func (*EventHandler) OnTeamEventDeleted

func (g *EventHandler) OnTeamEventDeleted(callbacks ...TeamEventHandleFunc)

OnTeamEventDeleted registers callbacks listening to events of type github.TeamEvent and action 'deleted'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnTeamEventDeleted must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#team

func (*EventHandler) OnTeamEventEdited

func (g *EventHandler) OnTeamEventEdited(callbacks ...TeamEventHandleFunc)

OnTeamEventEdited registers callbacks listening to events of type github.TeamEvent and action 'edited'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnTeamEventEdited must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#team

func (*EventHandler) OnTeamEventRemovedFromRepository

func (g *EventHandler) OnTeamEventRemovedFromRepository(callbacks ...TeamEventHandleFunc)

OnTeamEventRemovedFromRepository registers callbacks listening to events of type github.TeamEvent and action 'removed_from_repository'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnTeamEventRemovedFromRepository must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#team

func (*EventHandler) OnWatchEventAny

func (g *EventHandler) OnWatchEventAny(callbacks ...WatchEventHandleFunc)

OnWatchEventAny registers callbacks listening to any events of type github.WatchEvent

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnWatchEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#watch

func (*EventHandler) OnWorkflowDispatchEventAny

func (g *EventHandler) OnWorkflowDispatchEventAny(callbacks ...WorkflowDispatchEventHandleFunc)

OnWorkflowDispatchEventAny registers callbacks listening to any events of type github.WorkflowDispatchEvent

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnWorkflowDispatchEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow_dispatch

func (*EventHandler) OnWorkflowJobEventAny

func (g *EventHandler) OnWorkflowJobEventAny(callbacks ...WorkflowJobEventHandleFunc)

OnWorkflowJobEventAny registers callbacks listening to any events of type github.WorkflowJobEvent

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnWorkflowJobEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow_job

func (*EventHandler) OnWorkflowJobEventCompleted

func (g *EventHandler) OnWorkflowJobEventCompleted(callbacks ...WorkflowJobEventHandleFunc)

OnWorkflowJobEventCompleted registers callbacks listening to events of type github.WorkflowJobEvent and action 'completed'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnWorkflowJobEventCompleted must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow_job

func (*EventHandler) OnWorkflowJobEventInProgress

func (g *EventHandler) OnWorkflowJobEventInProgress(callbacks ...WorkflowJobEventHandleFunc)

OnWorkflowJobEventInProgress registers callbacks listening to events of type github.WorkflowJobEvent and action 'in_progress'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnWorkflowJobEventInProgress must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow_job

func (*EventHandler) OnWorkflowJobEventQueued

func (g *EventHandler) OnWorkflowJobEventQueued(callbacks ...WorkflowJobEventHandleFunc)

OnWorkflowJobEventQueued registers callbacks listening to events of type github.WorkflowJobEvent and action 'queued'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnWorkflowJobEventQueued must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow_job

func (*EventHandler) OnWorkflowRunEventAny

func (g *EventHandler) OnWorkflowRunEventAny(callbacks ...WorkflowRunEventHandleFunc)

OnWorkflowRunEventAny registers callbacks listening to any events of type github.WorkflowRunEvent

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnWorkflowRunEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow_run

func (*EventHandler) OnWorkflowRunEventCompleted

func (g *EventHandler) OnWorkflowRunEventCompleted(callbacks ...WorkflowRunEventHandleFunc)

OnWorkflowRunEventCompleted registers callbacks listening to events of type github.WorkflowRunEvent and action 'completed'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnWorkflowRunEventCompleted must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow_run

func (*EventHandler) OnWorkflowRunEventRequested

func (g *EventHandler) OnWorkflowRunEventRequested(callbacks ...WorkflowRunEventHandleFunc)

OnWorkflowRunEventRequested registers callbacks listening to events of type github.WorkflowRunEvent and action 'requested'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnWorkflowRunEventRequested must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow_run

func (*EventHandler) OrgBlockEvent

OrgBlockEvent handles github.OrgBlockEvent.

Callbacks are executed in the following order:

1) All callbacks registered with OnBeforeAny are executed in parallel. 2) All callbacks registered with OnOrgBlockEvent... are executed in parallel in case the Event has actions. 3) All callbacks registered with OnAfterAny are executed in parallel.

on any error all callbacks registered with OnError are executed in parallel.

func (*EventHandler) OrganizationEvent

OrganizationEvent handles github.OrganizationEvent.

Callbacks are executed in the following order:

1) All callbacks registered with OnBeforeAny are executed in parallel. 2) All callbacks registered with OnOrganizationEvent... are executed in parallel in case the Event has actions. 3) All callbacks registered with OnAfterAny are executed in parallel.

on any error all callbacks registered with OnError are executed in parallel.

func (*EventHandler) PackageEvent

PackageEvent handles github.PackageEvent.

Callbacks are executed in the following order:

1) All callbacks registered with OnBeforeAny are executed in parallel. 2) All callbacks registered with OnPackageEvent... are executed in parallel in case the Event has actions. 3) All callbacks registered with OnAfterAny are executed in parallel.

on any error all callbacks registered with OnError are executed in parallel.

func (*EventHandler) PageBuildEvent

PageBuildEvent handles github.PageBuildEvent.

Callbacks are executed in the following order:

1) All callbacks registered with OnBeforeAny are executed in parallel. 2) All callbacks registered with OnPageBuildEvent... are executed in parallel in case the Event has actions. 3) All callbacks registered with OnAfterAny are executed in parallel.

on any error all callbacks registered with OnError are executed in parallel.

func (*EventHandler) PingEvent

PingEvent handles github.PingEvent.

Callbacks are executed in the following order:

1) All callbacks registered with OnBeforeAny are executed in parallel. 2) All callbacks registered with OnPingEvent... are executed in parallel in case the Event has actions. 3) All callbacks registered with OnAfterAny are executed in parallel.

on any error all callbacks registered with OnError are executed in parallel.

func (*EventHandler) ProjectV2Event added in v1.21.0

ProjectV2Event handles github.ProjectV2Event.

Callbacks are executed in the following order:

1) All callbacks registered with OnBeforeAny are executed in parallel. 2) All callbacks registered with OnProjectV2Event... are executed in parallel in case the Event has actions. 3) All callbacks registered with OnAfterAny are executed in parallel.

on any error all callbacks registered with OnError are executed in parallel.

func (*EventHandler) ProjectV2ItemEvent added in v1.21.0

ProjectV2ItemEvent handles github.ProjectV2ItemEvent.

Callbacks are executed in the following order:

1) All callbacks registered with OnBeforeAny are executed in parallel. 2) All callbacks registered with OnProjectV2ItemEvent... are executed in parallel in case the Event has actions. 3) All callbacks registered with OnAfterAny are executed in parallel.

on any error all callbacks registered with OnError are executed in parallel.

func (*EventHandler) PublicEvent

PublicEvent handles github.PublicEvent.

Callbacks are executed in the following order:

1) All callbacks registered with OnBeforeAny are executed in parallel. 2) All callbacks registered with OnPublicEvent... are executed in parallel in case the Event has actions. 3) All callbacks registered with OnAfterAny are executed in parallel.

on any error all callbacks registered with OnError are executed in parallel.

func (*EventHandler) PullRequestEvent

PullRequestEvent handles github.PullRequestEvent.

Callbacks are executed in the following order:

1) All callbacks registered with OnBeforeAny are executed in parallel. 2) All callbacks registered with OnPullRequestEvent... are executed in parallel in case the Event has actions. 3) All callbacks registered with OnAfterAny are executed in parallel.

on any error all callbacks registered with OnError are executed in parallel.

func (*EventHandler) PullRequestReviewCommentEvent

PullRequestReviewCommentEvent handles github.PullRequestReviewCommentEvent.

Callbacks are executed in the following order:

1) All callbacks registered with OnBeforeAny are executed in parallel. 2) All callbacks registered with OnPullRequestReviewCommentEvent... are executed in parallel in case the Event has actions. 3) All callbacks registered with OnAfterAny are executed in parallel.

on any error all callbacks registered with OnError are executed in parallel.

func (*EventHandler) PullRequestReviewEvent

PullRequestReviewEvent handles github.PullRequestReviewEvent.

Callbacks are executed in the following order:

1) All callbacks registered with OnBeforeAny are executed in parallel. 2) All callbacks registered with OnPullRequestReviewEvent... are executed in parallel in case the Event has actions. 3) All callbacks registered with OnAfterAny are executed in parallel.

on any error all callbacks registered with OnError are executed in parallel.

func (*EventHandler) PushEvent

PushEvent handles github.PushEvent.

Callbacks are executed in the following order:

1) All callbacks registered with OnBeforeAny are executed in parallel. 2) All callbacks registered with OnPushEvent... are executed in parallel in case the Event has actions. 3) All callbacks registered with OnAfterAny are executed in parallel.

on any error all callbacks registered with OnError are executed in parallel.

func (*EventHandler) ReleaseEvent

ReleaseEvent handles github.ReleaseEvent.

Callbacks are executed in the following order:

1) All callbacks registered with OnBeforeAny are executed in parallel. 2) All callbacks registered with OnReleaseEvent... are executed in parallel in case the Event has actions. 3) All callbacks registered with OnAfterAny are executed in parallel.

on any error all callbacks registered with OnError are executed in parallel.

func (*EventHandler) RepositoryDispatchEvent

RepositoryDispatchEvent handles github.RepositoryDispatchEvent.

Callbacks are executed in the following order:

1) All callbacks registered with OnBeforeAny are executed in parallel. 2) All callbacks registered with OnRepositoryDispatchEvent... are executed in parallel in case the Event has actions. 3) All callbacks registered with OnAfterAny are executed in parallel.

on any error all callbacks registered with OnError are executed in parallel.

func (*EventHandler) RepositoryEvent

RepositoryEvent handles github.RepositoryEvent.

Callbacks are executed in the following order:

1) All callbacks registered with OnBeforeAny are executed in parallel. 2) All callbacks registered with OnRepositoryEvent... are executed in parallel in case the Event has actions. 3) All callbacks registered with OnAfterAny are executed in parallel.

on any error all callbacks registered with OnError are executed in parallel.

func (*EventHandler) RepositoryRulesetEvent added in v1.20.0

RepositoryRulesetEvent handles github.RepositoryRulesetEvent.

Callbacks are executed in the following order:

1) All callbacks registered with OnBeforeAny are executed in parallel. 2) All callbacks registered with OnRepositoryRulesetEvent... are executed in parallel in case the Event has actions. 3) All callbacks registered with OnAfterAny are executed in parallel.

on any error all callbacks registered with OnError are executed in parallel.

func (*EventHandler) RepositoryVulnerabilityAlertEvent

RepositoryVulnerabilityAlertEvent handles github.RepositoryVulnerabilityAlertEvent.

Callbacks are executed in the following order:

1) All callbacks registered with OnBeforeAny are executed in parallel. 2) All callbacks registered with OnRepositoryVulnerabilityAlertEvent... are executed in parallel in case the Event has actions. 3) All callbacks registered with OnAfterAny are executed in parallel.

on any error all callbacks registered with OnError are executed in parallel.

func (*EventHandler) SetOnAfterAny

func (g *EventHandler) SetOnAfterAny(callbacks ...EventHandleFunc)

SetOnAfterAny registers callbacks which are triggered after any event and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnAfterAny must be used. Callbacks are executed in parallel.

func (*EventHandler) SetOnBeforeAny

func (g *EventHandler) SetOnBeforeAny(callbacks ...EventHandleFunc)

SetOnBeforeAny registers callbacks which are triggered before any event and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnBeforeAny must be used. Callbacks are executed in parallel.

func (*EventHandler) SetOnBranchProtectionRuleEventAny

func (g *EventHandler) SetOnBranchProtectionRuleEventAny(callbacks ...BranchProtectionRuleEventHandleFunc)

SetOnBranchProtectionRuleEventAny registers callbacks listening to any events of type github.BranchProtectionRuleEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnBranchProtectionRuleEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#branch_protection_rule

func (*EventHandler) SetOnBranchProtectionRuleEventCreated

func (g *EventHandler) SetOnBranchProtectionRuleEventCreated(callbacks ...BranchProtectionRuleEventHandleFunc)

SetOnBranchProtectionRuleEventCreated registers callbacks listening to events of type github.BranchProtectionRuleEvent and action 'created' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnBranchProtectionRuleEventCreatedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#branch_protection_rule

func (*EventHandler) SetOnBranchProtectionRuleEventDeleted

func (g *EventHandler) SetOnBranchProtectionRuleEventDeleted(callbacks ...BranchProtectionRuleEventHandleFunc)

SetOnBranchProtectionRuleEventDeleted registers callbacks listening to events of type github.BranchProtectionRuleEvent and action 'deleted' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnBranchProtectionRuleEventDeletedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#branch_protection_rule

func (*EventHandler) SetOnBranchProtectionRuleEventEdited

func (g *EventHandler) SetOnBranchProtectionRuleEventEdited(callbacks ...BranchProtectionRuleEventHandleFunc)

SetOnBranchProtectionRuleEventEdited registers callbacks listening to events of type github.BranchProtectionRuleEvent and action 'edited' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnBranchProtectionRuleEventEditedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#branch_protection_rule

func (*EventHandler) SetOnCheckRunEventAny

func (g *EventHandler) SetOnCheckRunEventAny(callbacks ...CheckRunEventHandleFunc)

SetOnCheckRunEventAny registers callbacks listening to any events of type github.CheckRunEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnCheckRunEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#check_run

func (*EventHandler) SetOnCheckRunEventCompleted

func (g *EventHandler) SetOnCheckRunEventCompleted(callbacks ...CheckRunEventHandleFunc)

SetOnCheckRunEventCompleted registers callbacks listening to events of type github.CheckRunEvent and action 'completed' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnCheckRunEventCompletedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#check_run

func (*EventHandler) SetOnCheckRunEventCreated

func (g *EventHandler) SetOnCheckRunEventCreated(callbacks ...CheckRunEventHandleFunc)

SetOnCheckRunEventCreated registers callbacks listening to events of type github.CheckRunEvent and action 'created' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnCheckRunEventCreatedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#check_run

func (*EventHandler) SetOnCheckRunEventReRequested

func (g *EventHandler) SetOnCheckRunEventReRequested(callbacks ...CheckRunEventHandleFunc)

SetOnCheckRunEventReRequested registers callbacks listening to events of type github.CheckRunEvent and action 'rerequested' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnCheckRunEventReRequestedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#check_run

func (*EventHandler) SetOnCheckRunEventRequestAction

func (g *EventHandler) SetOnCheckRunEventRequestAction(callbacks ...CheckRunEventHandleFunc)

SetOnCheckRunEventRequestAction registers callbacks listening to events of type github.CheckRunEvent and action 'requested_action' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnCheckRunEventRequestActionAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#check_run

func (*EventHandler) SetOnCheckSuiteEventAny

func (g *EventHandler) SetOnCheckSuiteEventAny(callbacks ...CheckSuiteEventHandleFunc)

SetOnCheckSuiteEventAny registers callbacks listening to any events of type github.CheckSuiteEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnCheckSuiteEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#check_suite

func (*EventHandler) SetOnCheckSuiteEventCompleted

func (g *EventHandler) SetOnCheckSuiteEventCompleted(callbacks ...CheckSuiteEventHandleFunc)

SetOnCheckSuiteEventCompleted registers callbacks listening to events of type github.CheckSuiteEvent and action 'completed' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnCheckSuiteEventCompletedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#check_suite

func (*EventHandler) SetOnCheckSuiteEventReRequested

func (g *EventHandler) SetOnCheckSuiteEventReRequested(callbacks ...CheckSuiteEventHandleFunc)

SetOnCheckSuiteEventReRequested registers callbacks listening to events of type github.CheckSuiteEvent and action 'rerequested' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnCheckSuiteEventReRequestedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#check_suite

func (*EventHandler) SetOnCheckSuiteEventRequested

func (g *EventHandler) SetOnCheckSuiteEventRequested(callbacks ...CheckSuiteEventHandleFunc)

SetOnCheckSuiteEventRequested registers callbacks listening to events of type github.CheckSuiteEvent and action 'requested' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnCheckSuiteEventRequestedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#check_suite

func (*EventHandler) SetOnCommitCommentEventAny

func (g *EventHandler) SetOnCommitCommentEventAny(callbacks ...CommitCommentEventHandleFunc)

SetOnCommitCommentEventAny registers callbacks listening to any events of type github.CommitCommentEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnCommitCommentEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#commit_comment

func (*EventHandler) SetOnCommitCommentEventCreated

func (g *EventHandler) SetOnCommitCommentEventCreated(callbacks ...CommitCommentEventHandleFunc)

SetOnCommitCommentEventCreated registers callbacks listening to events of type github.CommitCommentEvent and action 'created' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnCommitCommentEventCreatedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#commit_comment

func (*EventHandler) SetOnCreateEventAny

func (g *EventHandler) SetOnCreateEventAny(callbacks ...CreateEventHandleFunc)

SetOnCreateEventAny registers callbacks listening to any events of type github.CreateEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnCreateEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#create

func (*EventHandler) SetOnDeleteEventAny

func (g *EventHandler) SetOnDeleteEventAny(callbacks ...DeleteEventHandleFunc)

SetOnDeleteEventAny registers callbacks listening to any events of type github.DeleteEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnDeleteEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#delete

func (*EventHandler) SetOnDeployKeyEventAny

func (g *EventHandler) SetOnDeployKeyEventAny(callbacks ...DeployKeyEventHandleFunc)

SetOnDeployKeyEventAny registers callbacks listening to any events of type github.DeployKeyEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnDeployKeyEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#deploy_key

func (*EventHandler) SetOnDeployKeyEventCreated

func (g *EventHandler) SetOnDeployKeyEventCreated(callbacks ...DeployKeyEventHandleFunc)

SetOnDeployKeyEventCreated registers callbacks listening to events of type github.DeployKeyEvent and action 'created' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnDeployKeyEventCreatedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#deploy_key

func (*EventHandler) SetOnDeployKeyEventDeleted

func (g *EventHandler) SetOnDeployKeyEventDeleted(callbacks ...DeployKeyEventHandleFunc)

SetOnDeployKeyEventDeleted registers callbacks listening to events of type github.DeployKeyEvent and action 'deleted' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnDeployKeyEventDeletedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#deploy_key

func (*EventHandler) SetOnDeploymentEventAny

func (g *EventHandler) SetOnDeploymentEventAny(callbacks ...DeploymentEventHandleFunc)

SetOnDeploymentEventAny registers callbacks listening to any events of type github.DeploymentEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnDeploymentEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#deployment

func (*EventHandler) SetOnDeploymentStatusEventAny

func (g *EventHandler) SetOnDeploymentStatusEventAny(callbacks ...DeploymentStatusEventHandleFunc)

SetOnDeploymentStatusEventAny registers callbacks listening to any events of type github.DeploymentStatusEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnDeploymentStatusEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#deployment_status

func (*EventHandler) SetOnDiscussionEventAnswered

func (g *EventHandler) SetOnDiscussionEventAnswered(callbacks ...DiscussionEventHandleFunc)

SetOnDiscussionEventAnswered registers callbacks listening to events of type github.DiscussionEvent and action 'answered' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnDiscussionEventAnsweredAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#discussion

func (*EventHandler) SetOnDiscussionEventAny

func (g *EventHandler) SetOnDiscussionEventAny(callbacks ...DiscussionEventHandleFunc)

SetOnDiscussionEventAny registers callbacks listening to any events of type github.DiscussionEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnDiscussionEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#discussion

func (*EventHandler) SetOnDiscussionEventCategoryChanged

func (g *EventHandler) SetOnDiscussionEventCategoryChanged(callbacks ...DiscussionEventHandleFunc)

SetOnDiscussionEventCategoryChanged registers callbacks listening to events of type github.DiscussionEvent and action 'category_changed' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnDiscussionEventCategoryChangedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#discussion

func (*EventHandler) SetOnDiscussionEventCreated

func (g *EventHandler) SetOnDiscussionEventCreated(callbacks ...DiscussionEventHandleFunc)

SetOnDiscussionEventCreated registers callbacks listening to events of type github.DiscussionEvent and action 'created' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnDiscussionEventCreatedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#discussion

func (*EventHandler) SetOnDiscussionEventDeleted

func (g *EventHandler) SetOnDiscussionEventDeleted(callbacks ...DiscussionEventHandleFunc)

SetOnDiscussionEventDeleted registers callbacks listening to events of type github.DiscussionEvent and action 'deleted' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnDiscussionEventDeletedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#discussion

func (*EventHandler) SetOnDiscussionEventEdited

func (g *EventHandler) SetOnDiscussionEventEdited(callbacks ...DiscussionEventHandleFunc)

SetOnDiscussionEventEdited registers callbacks listening to events of type github.DiscussionEvent and action 'edited' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnDiscussionEventEditedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#discussion

func (*EventHandler) SetOnDiscussionEventLabeled

func (g *EventHandler) SetOnDiscussionEventLabeled(callbacks ...DiscussionEventHandleFunc)

SetOnDiscussionEventLabeled registers callbacks listening to events of type github.DiscussionEvent and action 'labeled' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnDiscussionEventLabeledAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#discussion

func (*EventHandler) SetOnDiscussionEventLocked

func (g *EventHandler) SetOnDiscussionEventLocked(callbacks ...DiscussionEventHandleFunc)

SetOnDiscussionEventLocked registers callbacks listening to events of type github.DiscussionEvent and action 'locked' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnDiscussionEventLockedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#discussion

func (*EventHandler) SetOnDiscussionEventPinned

func (g *EventHandler) SetOnDiscussionEventPinned(callbacks ...DiscussionEventHandleFunc)

SetOnDiscussionEventPinned registers callbacks listening to events of type github.DiscussionEvent and action 'pinned' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnDiscussionEventPinnedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#discussion

func (*EventHandler) SetOnDiscussionEventTransferred

func (g *EventHandler) SetOnDiscussionEventTransferred(callbacks ...DiscussionEventHandleFunc)

SetOnDiscussionEventTransferred registers callbacks listening to events of type github.DiscussionEvent and action 'transferred' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnDiscussionEventTransferredAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#discussion

func (*EventHandler) SetOnDiscussionEventUnanswered

func (g *EventHandler) SetOnDiscussionEventUnanswered(callbacks ...DiscussionEventHandleFunc)

SetOnDiscussionEventUnanswered registers callbacks listening to events of type github.DiscussionEvent and action 'unanswered' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnDiscussionEventUnansweredAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#discussion

func (*EventHandler) SetOnDiscussionEventUnlabeled

func (g *EventHandler) SetOnDiscussionEventUnlabeled(callbacks ...DiscussionEventHandleFunc)

SetOnDiscussionEventUnlabeled registers callbacks listening to events of type github.DiscussionEvent and action 'unlabeled' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnDiscussionEventUnlabeledAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#discussion

func (*EventHandler) SetOnDiscussionEventUnlocked

func (g *EventHandler) SetOnDiscussionEventUnlocked(callbacks ...DiscussionEventHandleFunc)

SetOnDiscussionEventUnlocked registers callbacks listening to events of type github.DiscussionEvent and action 'unlocked' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnDiscussionEventUnlockedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#discussion

func (*EventHandler) SetOnDiscussionEventUnpinned

func (g *EventHandler) SetOnDiscussionEventUnpinned(callbacks ...DiscussionEventHandleFunc)

SetOnDiscussionEventUnpinned registers callbacks listening to events of type github.DiscussionEvent and action 'unpinned' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnDiscussionEventUnpinnedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#discussion

func (*EventHandler) SetOnError

func (g *EventHandler) SetOnError(callbacks ...ErrorEventHandleFunc)

SetOnError registers callbacks which are triggered whenever an error occurs and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnError must be used. Callbacks are executed in parallel.

func (*EventHandler) SetOnForkEventAny

func (g *EventHandler) SetOnForkEventAny(callbacks ...ForkEventHandleFunc)

SetOnForkEventAny registers callbacks listening to any events of type github.ForkEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnForkEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#fork

func (*EventHandler) SetOnGitHubAppAuthorizationEventAny

func (g *EventHandler) SetOnGitHubAppAuthorizationEventAny(callbacks ...GitHubAppAuthorizationEventHandleFunc)

SetOnGitHubAppAuthorizationEventAny registers callbacks listening to any events of type github.GitHubAppAuthorizationEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnGitHubAppAuthorizationEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#github_app_authorization

func (*EventHandler) SetOnGitHubAppAuthorizationEventRevoked

func (g *EventHandler) SetOnGitHubAppAuthorizationEventRevoked(callbacks ...GitHubAppAuthorizationEventHandleFunc)

SetOnGitHubAppAuthorizationEventRevoked registers callbacks listening to events of type github.GitHubAppAuthorizationEvent and action 'revoked' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnGitHubAppAuthorizationEventRevokedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#github_app_authorization

func (*EventHandler) SetOnGollumEventAny

func (g *EventHandler) SetOnGollumEventAny(callbacks ...GollumEventHandleFunc)

SetOnGollumEventAny registers callbacks listening to any events of type github.GollumEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnGollumEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#gollum

func (*EventHandler) SetOnInstallationEventAny

func (g *EventHandler) SetOnInstallationEventAny(callbacks ...InstallationEventHandleFunc)

SetOnInstallationEventAny registers callbacks listening to any events of type github.InstallationEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnInstallationEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#installation

func (*EventHandler) SetOnInstallationEventCreated

func (g *EventHandler) SetOnInstallationEventCreated(callbacks ...InstallationEventHandleFunc)

SetOnInstallationEventCreated registers callbacks listening to events of type github.InstallationEvent and action 'created' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnInstallationEventCreatedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#installation

func (*EventHandler) SetOnInstallationEventDeleted

func (g *EventHandler) SetOnInstallationEventDeleted(callbacks ...InstallationEventHandleFunc)

SetOnInstallationEventDeleted registers callbacks listening to events of type github.InstallationEvent and action 'deleted' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnInstallationEventDeletedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#installation

func (*EventHandler) SetOnInstallationEventEventSuspend

func (g *EventHandler) SetOnInstallationEventEventSuspend(callbacks ...InstallationEventHandleFunc)

SetOnInstallationEventEventSuspend registers callbacks listening to events of type github.InstallationEvent and action 'suspend' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnInstallationEventEventSuspendAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#installation

func (*EventHandler) SetOnInstallationEventEventUnsuspend

func (g *EventHandler) SetOnInstallationEventEventUnsuspend(callbacks ...InstallationEventHandleFunc)

SetOnInstallationEventEventUnsuspend registers callbacks listening to events of type github.InstallationEvent and action 'unsuspend' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnInstallationEventEventUnsuspendAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#installation

func (*EventHandler) SetOnInstallationEventNewPermissionsAccepted

func (g *EventHandler) SetOnInstallationEventNewPermissionsAccepted(callbacks ...InstallationEventHandleFunc)

SetOnInstallationEventNewPermissionsAccepted registers callbacks listening to events of type github.InstallationEvent and action 'new_permissions_accepted' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnInstallationEventNewPermissionsAcceptedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#installation

func (*EventHandler) SetOnInstallationRepositoriesEventAdded

func (g *EventHandler) SetOnInstallationRepositoriesEventAdded(callbacks ...InstallationRepositoriesEventHandleFunc)

SetOnInstallationRepositoriesEventAdded registers callbacks listening to events of type github.InstallationRepositoriesEvent and action 'added' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnInstallationRepositoriesEventAddedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#installation_repositories

func (*EventHandler) SetOnInstallationRepositoriesEventAny

func (g *EventHandler) SetOnInstallationRepositoriesEventAny(callbacks ...InstallationRepositoriesEventHandleFunc)

SetOnInstallationRepositoriesEventAny registers callbacks listening to any events of type github.InstallationRepositoriesEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnInstallationRepositoriesEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#installation_repositories

func (*EventHandler) SetOnInstallationRepositoriesEventRemoved

func (g *EventHandler) SetOnInstallationRepositoriesEventRemoved(callbacks ...InstallationRepositoriesEventHandleFunc)

SetOnInstallationRepositoriesEventRemoved registers callbacks listening to events of type github.InstallationRepositoriesEvent and action 'removed' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnInstallationRepositoriesEventRemovedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#installation_repositories

func (*EventHandler) SetOnIssueCommentCreated

func (g *EventHandler) SetOnIssueCommentCreated(callbacks ...IssueCommentEventHandleFunc)

SetOnIssueCommentCreated registers callbacks listening to events of type github.IssueCommentEvent and action 'created' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnIssueCommentCreatedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issue_comment

func (*EventHandler) SetOnIssueCommentDeleted

func (g *EventHandler) SetOnIssueCommentDeleted(callbacks ...IssueCommentEventHandleFunc)

SetOnIssueCommentDeleted registers callbacks listening to events of type github.IssueCommentEvent and action 'deleted' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnIssueCommentDeletedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issue_comment

func (*EventHandler) SetOnIssueCommentEdited

func (g *EventHandler) SetOnIssueCommentEdited(callbacks ...IssueCommentEventHandleFunc)

SetOnIssueCommentEdited registers callbacks listening to events of type github.IssueCommentEvent and action 'edited' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnIssueCommentEditedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issue_comment

func (*EventHandler) SetOnIssueCommentEventAny

func (g *EventHandler) SetOnIssueCommentEventAny(callbacks ...IssueCommentEventHandleFunc)

SetOnIssueCommentEventAny registers callbacks listening to any events of type github.IssueCommentEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnIssueCommentEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issue_comment

func (*EventHandler) SetOnIssuesEventAny

func (g *EventHandler) SetOnIssuesEventAny(callbacks ...IssuesEventHandleFunc)

SetOnIssuesEventAny registers callbacks listening to any events of type github.IssuesEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnIssuesEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issues

func (*EventHandler) SetOnIssuesEventAssigned

func (g *EventHandler) SetOnIssuesEventAssigned(callbacks ...IssuesEventHandleFunc)

SetOnIssuesEventAssigned registers callbacks listening to events of type github.IssuesEvent and action 'assigned' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnIssuesEventAssignedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issues

func (*EventHandler) SetOnIssuesEventClosed

func (g *EventHandler) SetOnIssuesEventClosed(callbacks ...IssuesEventHandleFunc)

SetOnIssuesEventClosed registers callbacks listening to events of type github.IssuesEvent and action 'closed' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnIssuesEventClosedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issues

func (*EventHandler) SetOnIssuesEventDeMilestoned

func (g *EventHandler) SetOnIssuesEventDeMilestoned(callbacks ...IssuesEventHandleFunc)

SetOnIssuesEventDeMilestoned registers callbacks listening to events of type github.IssuesEvent and action 'demilestoned' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnIssuesEventDeMilestonedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issues

func (*EventHandler) SetOnIssuesEventDeleted

func (g *EventHandler) SetOnIssuesEventDeleted(callbacks ...IssuesEventHandleFunc)

SetOnIssuesEventDeleted registers callbacks listening to events of type github.IssuesEvent and action 'deleted' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnIssuesEventDeletedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issues

func (*EventHandler) SetOnIssuesEventEdited

func (g *EventHandler) SetOnIssuesEventEdited(callbacks ...IssuesEventHandleFunc)

SetOnIssuesEventEdited registers callbacks listening to events of type github.IssuesEvent and action 'edited' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnIssuesEventEditedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issues

func (*EventHandler) SetOnIssuesEventLabeled

func (g *EventHandler) SetOnIssuesEventLabeled(callbacks ...IssuesEventHandleFunc)

SetOnIssuesEventLabeled registers callbacks listening to events of type github.IssuesEvent and action 'labeled' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnIssuesEventLabeledAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issues

func (*EventHandler) SetOnIssuesEventLocked

func (g *EventHandler) SetOnIssuesEventLocked(callbacks ...IssuesEventHandleFunc)

SetOnIssuesEventLocked registers callbacks listening to events of type github.IssuesEvent and action 'locked' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnIssuesEventLockedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issues

func (*EventHandler) SetOnIssuesEventMilestoned

func (g *EventHandler) SetOnIssuesEventMilestoned(callbacks ...IssuesEventHandleFunc)

SetOnIssuesEventMilestoned registers callbacks listening to events of type github.IssuesEvent and action 'milestoned' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnIssuesEventMilestonedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issues

func (*EventHandler) SetOnIssuesEventOpened

func (g *EventHandler) SetOnIssuesEventOpened(callbacks ...IssuesEventHandleFunc)

SetOnIssuesEventOpened registers callbacks listening to events of type github.IssuesEvent and action 'opened' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnIssuesEventOpenedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issues

func (*EventHandler) SetOnIssuesEventPinned

func (g *EventHandler) SetOnIssuesEventPinned(callbacks ...IssuesEventHandleFunc)

SetOnIssuesEventPinned registers callbacks listening to events of type github.IssuesEvent and action 'pinned' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnIssuesEventPinnedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issues

func (*EventHandler) SetOnIssuesEventReopened

func (g *EventHandler) SetOnIssuesEventReopened(callbacks ...IssuesEventHandleFunc)

SetOnIssuesEventReopened registers callbacks listening to events of type github.IssuesEvent and action 'reopened' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnIssuesEventReopenedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issues

func (*EventHandler) SetOnIssuesEventTransferred

func (g *EventHandler) SetOnIssuesEventTransferred(callbacks ...IssuesEventHandleFunc)

SetOnIssuesEventTransferred registers callbacks listening to events of type github.IssuesEvent and action 'transferred' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnIssuesEventTransferredAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issues

func (*EventHandler) SetOnIssuesEventUnassigned

func (g *EventHandler) SetOnIssuesEventUnassigned(callbacks ...IssuesEventHandleFunc)

SetOnIssuesEventUnassigned registers callbacks listening to events of type github.IssuesEvent and action 'unassigned' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnIssuesEventUnassignedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issues

func (*EventHandler) SetOnIssuesEventUnlabeled

func (g *EventHandler) SetOnIssuesEventUnlabeled(callbacks ...IssuesEventHandleFunc)

SetOnIssuesEventUnlabeled registers callbacks listening to events of type github.IssuesEvent and action 'unlabeled' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnIssuesEventUnlabeledAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issues

func (*EventHandler) SetOnIssuesEventUnlocked

func (g *EventHandler) SetOnIssuesEventUnlocked(callbacks ...IssuesEventHandleFunc)

SetOnIssuesEventUnlocked registers callbacks listening to events of type github.IssuesEvent and action 'unlocked' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnIssuesEventUnlockedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issues

func (*EventHandler) SetOnIssuesEventUnpinned

func (g *EventHandler) SetOnIssuesEventUnpinned(callbacks ...IssuesEventHandleFunc)

SetOnIssuesEventUnpinned registers callbacks listening to events of type github.IssuesEvent and action 'unpinned' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnIssuesEventUnpinnedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issues

func (*EventHandler) SetOnLabelEventAny

func (g *EventHandler) SetOnLabelEventAny(callbacks ...LabelEventHandleFunc)

SetOnLabelEventAny registers callbacks listening to any events of type github.LabelEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnLabelEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#label

func (*EventHandler) SetOnLabelEventCreated

func (g *EventHandler) SetOnLabelEventCreated(callbacks ...LabelEventHandleFunc)

SetOnLabelEventCreated registers callbacks listening to events of type github.LabelEvent and action 'created' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnLabelEventCreatedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#label

func (*EventHandler) SetOnLabelEventDeleted

func (g *EventHandler) SetOnLabelEventDeleted(callbacks ...LabelEventHandleFunc)

SetOnLabelEventDeleted registers callbacks listening to events of type github.LabelEvent and action 'deleted' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnLabelEventDeletedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#label

func (*EventHandler) SetOnLabelEventEdited

func (g *EventHandler) SetOnLabelEventEdited(callbacks ...LabelEventHandleFunc)

SetOnLabelEventEdited registers callbacks listening to events of type github.LabelEvent and action 'edited' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnLabelEventEditedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#label

func (*EventHandler) SetOnMarketplacePurchaseEventAny

func (g *EventHandler) SetOnMarketplacePurchaseEventAny(callbacks ...MarketplacePurchaseEventHandleFunc)

SetOnMarketplacePurchaseEventAny registers callbacks listening to any events of type github.MarketplacePurchaseEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnMarketplacePurchaseEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#marketplace_purchase

func (*EventHandler) SetOnMarketplacePurchaseEventCancelled

func (g *EventHandler) SetOnMarketplacePurchaseEventCancelled(callbacks ...MarketplacePurchaseEventHandleFunc)

SetOnMarketplacePurchaseEventCancelled registers callbacks listening to events of type github.MarketplacePurchaseEvent and action 'cancelled' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnMarketplacePurchaseEventCancelledAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#marketplace_purchase

func (*EventHandler) SetOnMarketplacePurchaseEventChanged

func (g *EventHandler) SetOnMarketplacePurchaseEventChanged(callbacks ...MarketplacePurchaseEventHandleFunc)

SetOnMarketplacePurchaseEventChanged registers callbacks listening to events of type github.MarketplacePurchaseEvent and action 'changed' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnMarketplacePurchaseEventChangedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#marketplace_purchase

func (*EventHandler) SetOnMarketplacePurchaseEventPendingChange

func (g *EventHandler) SetOnMarketplacePurchaseEventPendingChange(callbacks ...MarketplacePurchaseEventHandleFunc)

SetOnMarketplacePurchaseEventPendingChange registers callbacks listening to events of type github.MarketplacePurchaseEvent and action 'pending_change' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnMarketplacePurchaseEventPendingChangeAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#marketplace_purchase

func (*EventHandler) SetOnMarketplacePurchaseEventPendingChangeCancelled

func (g *EventHandler) SetOnMarketplacePurchaseEventPendingChangeCancelled(callbacks ...MarketplacePurchaseEventHandleFunc)

SetOnMarketplacePurchaseEventPendingChangeCancelled registers callbacks listening to events of type github.MarketplacePurchaseEvent and action 'pending_change_cancelled' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnMarketplacePurchaseEventPendingChangeCancelledAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#marketplace_purchase

func (*EventHandler) SetOnMarketplacePurchaseEventPurchased

func (g *EventHandler) SetOnMarketplacePurchaseEventPurchased(callbacks ...MarketplacePurchaseEventHandleFunc)

SetOnMarketplacePurchaseEventPurchased registers callbacks listening to events of type github.MarketplacePurchaseEvent and action 'purchased' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnMarketplacePurchaseEventPurchasedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#marketplace_purchase

func (*EventHandler) SetOnMemberEventAdded

func (g *EventHandler) SetOnMemberEventAdded(callbacks ...MemberEventHandleFunc)

SetOnMemberEventAdded registers callbacks listening to events of type github.MemberEvent and action 'added' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnMemberEventAddedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#member

func (*EventHandler) SetOnMemberEventAny

func (g *EventHandler) SetOnMemberEventAny(callbacks ...MemberEventHandleFunc)

SetOnMemberEventAny registers callbacks listening to any events of type github.MemberEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnMemberEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#member

func (*EventHandler) SetOnMemberEventEdited

func (g *EventHandler) SetOnMemberEventEdited(callbacks ...MemberEventHandleFunc)

SetOnMemberEventEdited registers callbacks listening to events of type github.MemberEvent and action 'edited' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnMemberEventEditedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#member

func (*EventHandler) SetOnMemberEventRemoved

func (g *EventHandler) SetOnMemberEventRemoved(callbacks ...MemberEventHandleFunc)

SetOnMemberEventRemoved registers callbacks listening to events of type github.MemberEvent and action 'removed' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnMemberEventRemovedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#member

func (*EventHandler) SetOnMembershipEventAdded

func (g *EventHandler) SetOnMembershipEventAdded(callbacks ...MembershipEventHandleFunc)

SetOnMembershipEventAdded registers callbacks listening to events of type github.MembershipEvent and action 'added' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnMembershipEventAddedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#membership

func (*EventHandler) SetOnMembershipEventAny

func (g *EventHandler) SetOnMembershipEventAny(callbacks ...MembershipEventHandleFunc)

SetOnMembershipEventAny registers callbacks listening to any events of type github.MembershipEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnMembershipEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#membership

func (*EventHandler) SetOnMembershipEventRemoved

func (g *EventHandler) SetOnMembershipEventRemoved(callbacks ...MembershipEventHandleFunc)

SetOnMembershipEventRemoved registers callbacks listening to events of type github.MembershipEvent and action 'removed' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnMembershipEventRemovedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#membership

func (*EventHandler) SetOnMergeGroupEventAny added in v1.12.0

func (g *EventHandler) SetOnMergeGroupEventAny(callbacks ...MergeGroupEventHandleFunc)

SetOnMergeGroupEventAny registers callbacks listening to any events of type github.MergeGroupEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnMergeGroupEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#merge_group_event

func (*EventHandler) SetOnMergeGroupEventChecksRequested added in v1.12.0

func (g *EventHandler) SetOnMergeGroupEventChecksRequested(callbacks ...MergeGroupEventHandleFunc)

SetOnMergeGroupEventChecksRequested registers callbacks listening to events of type github.MergeGroupEvent and action 'checks_requested' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnMergeGroupEventChecksRequestedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#merge_group_event

func (*EventHandler) SetOnMergeGroupEventDestroyed added in v1.12.0

func (g *EventHandler) SetOnMergeGroupEventDestroyed(callbacks ...MergeGroupEventHandleFunc)

SetOnMergeGroupEventDestroyed registers callbacks listening to events of type github.MergeGroupEvent and action 'destroyed' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnMergeGroupEventDestroyedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#merge_group_event

func (*EventHandler) SetOnMetaEventAny

func (g *EventHandler) SetOnMetaEventAny(callbacks ...MetaEventHandleFunc)

SetOnMetaEventAny registers callbacks listening to any events of type github.MetaEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnMetaEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#meta

func (*EventHandler) SetOnMilestoneEventAny

func (g *EventHandler) SetOnMilestoneEventAny(callbacks ...MilestoneEventHandleFunc)

SetOnMilestoneEventAny registers callbacks listening to any events of type github.MilestoneEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnMilestoneEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#milestone

func (*EventHandler) SetOnMilestoneEventClosed

func (g *EventHandler) SetOnMilestoneEventClosed(callbacks ...MilestoneEventHandleFunc)

SetOnMilestoneEventClosed registers callbacks listening to events of type github.MilestoneEvent and action 'closed' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnMilestoneEventClosedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#milestone

func (*EventHandler) SetOnMilestoneEventCreated

func (g *EventHandler) SetOnMilestoneEventCreated(callbacks ...MilestoneEventHandleFunc)

SetOnMilestoneEventCreated registers callbacks listening to events of type github.MilestoneEvent and action 'created' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnMilestoneEventCreatedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#milestone

func (*EventHandler) SetOnMilestoneEventDeleted

func (g *EventHandler) SetOnMilestoneEventDeleted(callbacks ...MilestoneEventHandleFunc)

SetOnMilestoneEventDeleted registers callbacks listening to events of type github.MilestoneEvent and action 'deleted' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnMilestoneEventDeletedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#milestone

func (*EventHandler) SetOnMilestoneEventEdited

func (g *EventHandler) SetOnMilestoneEventEdited(callbacks ...MilestoneEventHandleFunc)

SetOnMilestoneEventEdited registers callbacks listening to events of type github.MilestoneEvent and action 'edited' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnMilestoneEventEditedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#milestone

func (*EventHandler) SetOnMilestoneEventOpened

func (g *EventHandler) SetOnMilestoneEventOpened(callbacks ...MilestoneEventHandleFunc)

SetOnMilestoneEventOpened registers callbacks listening to events of type github.MilestoneEvent and action 'opened' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnMilestoneEventOpenedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#milestone

func (*EventHandler) SetOnOrgBlockEventAny

func (g *EventHandler) SetOnOrgBlockEventAny(callbacks ...OrgBlockEventHandleFunc)

SetOnOrgBlockEventAny registers callbacks listening to any events of type github.OrgBlockEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnOrgBlockEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#org_block

func (*EventHandler) SetOnOrgBlockEventBlocked

func (g *EventHandler) SetOnOrgBlockEventBlocked(callbacks ...OrgBlockEventHandleFunc)

SetOnOrgBlockEventBlocked registers callbacks listening to events of type github.OrgBlockEvent and action 'blocked' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnOrgBlockEventBlockedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#org_block

func (*EventHandler) SetOnOrgBlockEventUnblocked

func (g *EventHandler) SetOnOrgBlockEventUnblocked(callbacks ...OrgBlockEventHandleFunc)

SetOnOrgBlockEventUnblocked registers callbacks listening to events of type github.OrgBlockEvent and action 'unblocked' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnOrgBlockEventUnblockedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#org_block

func (*EventHandler) SetOnOrganizationEventAny

func (g *EventHandler) SetOnOrganizationEventAny(callbacks ...OrganizationEventHandleFunc)

SetOnOrganizationEventAny registers callbacks listening to any events of type github.OrganizationEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnOrganizationEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#organization

func (*EventHandler) SetOnOrganizationEventDeleted

func (g *EventHandler) SetOnOrganizationEventDeleted(callbacks ...OrganizationEventHandleFunc)

SetOnOrganizationEventDeleted registers callbacks listening to events of type github.OrganizationEvent and action 'deleted' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnOrganizationEventDeletedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#organization

func (*EventHandler) SetOnOrganizationEventMemberAdded

func (g *EventHandler) SetOnOrganizationEventMemberAdded(callbacks ...OrganizationEventHandleFunc)

SetOnOrganizationEventMemberAdded registers callbacks listening to events of type github.OrganizationEvent and action 'member_added' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnOrganizationEventMemberAddedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#organization

func (*EventHandler) SetOnOrganizationEventMemberInvited

func (g *EventHandler) SetOnOrganizationEventMemberInvited(callbacks ...OrganizationEventHandleFunc)

SetOnOrganizationEventMemberInvited registers callbacks listening to events of type github.OrganizationEvent and action 'member_invited' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnOrganizationEventMemberInvitedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#organization

func (*EventHandler) SetOnOrganizationEventMemberRemoved

func (g *EventHandler) SetOnOrganizationEventMemberRemoved(callbacks ...OrganizationEventHandleFunc)

SetOnOrganizationEventMemberRemoved registers callbacks listening to events of type github.OrganizationEvent and action 'member_removed' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnOrganizationEventMemberRemovedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#organization

func (*EventHandler) SetOnOrganizationEventRenamed

func (g *EventHandler) SetOnOrganizationEventRenamed(callbacks ...OrganizationEventHandleFunc)

SetOnOrganizationEventRenamed registers callbacks listening to events of type github.OrganizationEvent and action 'renamed' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnOrganizationEventRenamedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#organization

func (*EventHandler) SetOnPackageEventAny

func (g *EventHandler) SetOnPackageEventAny(callbacks ...PackageEventHandleFunc)

SetOnPackageEventAny registers callbacks listening to any events of type github.PackageEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnPackageEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#package

func (*EventHandler) SetOnPackageEventPublished

func (g *EventHandler) SetOnPackageEventPublished(callbacks ...PackageEventHandleFunc)

SetOnPackageEventPublished registers callbacks listening to events of type github.PackageEvent and action 'published' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnPackageEventPublishedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#package

func (*EventHandler) SetOnPackageEventUpdated

func (g *EventHandler) SetOnPackageEventUpdated(callbacks ...PackageEventHandleFunc)

SetOnPackageEventUpdated registers callbacks listening to events of type github.PackageEvent and action 'updated' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnPackageEventUpdatedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#package

func (*EventHandler) SetOnPageBuildEventAny

func (g *EventHandler) SetOnPageBuildEventAny(callbacks ...PageBuildEventHandleFunc)

SetOnPageBuildEventAny registers callbacks listening to any events of type github.PageBuildEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnPageBuildEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#page_build

func (*EventHandler) SetOnPingEventAny

func (g *EventHandler) SetOnPingEventAny(callbacks ...PingEventHandleFunc)

SetOnPingEventAny registers callbacks listening to any events of type github.PingEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnPingEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#ping

func (*EventHandler) SetOnProjectEventClosed

func (g *EventHandler) SetOnProjectEventClosed(callbacks ...ProjectV2EventHandleFunc)

SetOnProjectEventClosed registers callbacks listening to events of type github.ProjectV2Event and action 'closed' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnProjectEventClosedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#project_v2

func (*EventHandler) SetOnProjectEventCreated

func (g *EventHandler) SetOnProjectEventCreated(callbacks ...ProjectV2EventHandleFunc)

SetOnProjectEventCreated registers callbacks listening to events of type github.ProjectV2Event and action 'created' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnProjectEventCreatedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#project_v2

func (*EventHandler) SetOnProjectEventDeleted

func (g *EventHandler) SetOnProjectEventDeleted(callbacks ...ProjectV2EventHandleFunc)

SetOnProjectEventDeleted registers callbacks listening to events of type github.ProjectV2Event and action 'deleted' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnProjectEventDeletedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#project_v2

func (*EventHandler) SetOnProjectEventEdited

func (g *EventHandler) SetOnProjectEventEdited(callbacks ...ProjectV2EventHandleFunc)

SetOnProjectEventEdited registers callbacks listening to events of type github.ProjectV2Event and action 'edited' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnProjectEventEditedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#project_v2

func (*EventHandler) SetOnProjectEventReopened

func (g *EventHandler) SetOnProjectEventReopened(callbacks ...ProjectV2EventHandleFunc)

SetOnProjectEventReopened registers callbacks listening to events of type github.ProjectV2Event and action 'reopened' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnProjectEventReopenedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#project_v2

func (*EventHandler) SetOnProjectItemEventClosed added in v1.21.0

func (g *EventHandler) SetOnProjectItemEventClosed(callbacks ...ProjectV2ItemEventHandleFunc)

SetOnProjectItemEventClosed registers callbacks listening to events of type github.ProjectV2ItemEvent and action 'closed' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnProjectItemEventClosedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#project_v2_item

func (*EventHandler) SetOnProjectItemEventConverted added in v1.21.0

func (g *EventHandler) SetOnProjectItemEventConverted(callbacks ...ProjectV2ItemEventHandleFunc)

SetOnProjectItemEventConverted registers callbacks listening to events of type github.ProjectV2ItemEvent and action 'converted' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnProjectItemEventConvertedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#project_v2_item

func (*EventHandler) SetOnProjectItemEventCreated added in v1.21.0

func (g *EventHandler) SetOnProjectItemEventCreated(callbacks ...ProjectV2ItemEventHandleFunc)

SetOnProjectItemEventCreated registers callbacks listening to events of type github.ProjectV2ItemEvent and action 'created' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnProjectItemEventCreatedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#project_v2_item

func (*EventHandler) SetOnProjectItemEventDeleted added in v1.21.0

func (g *EventHandler) SetOnProjectItemEventDeleted(callbacks ...ProjectV2ItemEventHandleFunc)

SetOnProjectItemEventDeleted registers callbacks listening to events of type github.ProjectV2ItemEvent and action 'deleted' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnProjectItemEventDeletedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#project_v2_item

func (*EventHandler) SetOnProjectItemEventEdited added in v1.21.0

func (g *EventHandler) SetOnProjectItemEventEdited(callbacks ...ProjectV2ItemEventHandleFunc)

SetOnProjectItemEventEdited registers callbacks listening to events of type github.ProjectV2ItemEvent and action 'edited' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnProjectItemEventEditedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#project_v2_item

func (*EventHandler) SetOnProjectItemEventReopened added in v1.21.0

func (g *EventHandler) SetOnProjectItemEventReopened(callbacks ...ProjectV2ItemEventHandleFunc)

SetOnProjectItemEventReopened registers callbacks listening to events of type github.ProjectV2ItemEvent and action 'reopened' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnProjectItemEventReopenedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#project_v2_item

func (*EventHandler) SetOnProjectItemEventRestored added in v1.21.0

func (g *EventHandler) SetOnProjectItemEventRestored(callbacks ...ProjectV2ItemEventHandleFunc)

SetOnProjectItemEventRestored registers callbacks listening to events of type github.ProjectV2ItemEvent and action 'restored' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnProjectItemEventRestoredAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#project_v2_item

func (*EventHandler) SetOnProjectV2EventAny added in v1.21.0

func (g *EventHandler) SetOnProjectV2EventAny(callbacks ...ProjectV2EventHandleFunc)

SetOnProjectV2EventAny registers callbacks listening to any events of type github.ProjectV2Event and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnProjectV2EventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#project_v2

func (*EventHandler) SetOnProjectV2ItemEventAny added in v1.21.0

func (g *EventHandler) SetOnProjectV2ItemEventAny(callbacks ...ProjectV2ItemEventHandleFunc)

SetOnProjectV2ItemEventAny registers callbacks listening to any events of type github.ProjectV2ItemEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnProjectV2ItemEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#project_v2_item

func (*EventHandler) SetOnPublicEventAny

func (g *EventHandler) SetOnPublicEventAny(callbacks ...PublicEventHandleFunc)

SetOnPublicEventAny registers callbacks listening to any events of type github.PublicEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnPublicEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#public

func (*EventHandler) SetOnPullRequestEventAny

func (g *EventHandler) SetOnPullRequestEventAny(callbacks ...PullRequestEventHandleFunc)

SetOnPullRequestEventAny registers callbacks listening to any events of type github.PullRequestEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnPullRequestEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request

func (*EventHandler) SetOnPullRequestEventAssigned

func (g *EventHandler) SetOnPullRequestEventAssigned(callbacks ...PullRequestEventHandleFunc)

SetOnPullRequestEventAssigned registers callbacks listening to events of type github.PullRequestEvent and action 'assigned' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnPullRequestEventAssignedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request

func (*EventHandler) SetOnPullRequestEventAutoMergeDisabled

func (g *EventHandler) SetOnPullRequestEventAutoMergeDisabled(callbacks ...PullRequestEventHandleFunc)

SetOnPullRequestEventAutoMergeDisabled registers callbacks listening to events of type github.PullRequestEvent and action 'auto_merge_disabled' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnPullRequestEventAutoMergeDisabledAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request

func (*EventHandler) SetOnPullRequestEventAutoMergeEnabled

func (g *EventHandler) SetOnPullRequestEventAutoMergeEnabled(callbacks ...PullRequestEventHandleFunc)

SetOnPullRequestEventAutoMergeEnabled registers callbacks listening to events of type github.PullRequestEvent and action 'auto_merge_enabled' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnPullRequestEventAutoMergeEnabledAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request

func (*EventHandler) SetOnPullRequestEventClosed

func (g *EventHandler) SetOnPullRequestEventClosed(callbacks ...PullRequestEventHandleFunc)

SetOnPullRequestEventClosed registers callbacks listening to events of type github.PullRequestEvent and action 'closed' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnPullRequestEventClosedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request

func (*EventHandler) SetOnPullRequestEventConvertedToDraft

func (g *EventHandler) SetOnPullRequestEventConvertedToDraft(callbacks ...PullRequestEventHandleFunc)

SetOnPullRequestEventConvertedToDraft registers callbacks listening to events of type github.PullRequestEvent and action 'converted_to_draft' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnPullRequestEventConvertedToDraftAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request

func (*EventHandler) SetOnPullRequestEventEdited

func (g *EventHandler) SetOnPullRequestEventEdited(callbacks ...PullRequestEventHandleFunc)

SetOnPullRequestEventEdited registers callbacks listening to events of type github.PullRequestEvent and action 'edited' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnPullRequestEventEditedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request

func (*EventHandler) SetOnPullRequestEventLabeled

func (g *EventHandler) SetOnPullRequestEventLabeled(callbacks ...PullRequestEventHandleFunc)

SetOnPullRequestEventLabeled registers callbacks listening to events of type github.PullRequestEvent and action 'labeled' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnPullRequestEventLabeledAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request

func (*EventHandler) SetOnPullRequestEventLocked

func (g *EventHandler) SetOnPullRequestEventLocked(callbacks ...PullRequestEventHandleFunc)

SetOnPullRequestEventLocked registers callbacks listening to events of type github.PullRequestEvent and action 'locked' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnPullRequestEventLockedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request

func (*EventHandler) SetOnPullRequestEventOpened

func (g *EventHandler) SetOnPullRequestEventOpened(callbacks ...PullRequestEventHandleFunc)

SetOnPullRequestEventOpened registers callbacks listening to events of type github.PullRequestEvent and action 'opened' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnPullRequestEventOpenedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request

func (*EventHandler) SetOnPullRequestEventReadyForReview

func (g *EventHandler) SetOnPullRequestEventReadyForReview(callbacks ...PullRequestEventHandleFunc)

SetOnPullRequestEventReadyForReview registers callbacks listening to events of type github.PullRequestEvent and action 'ready_for_review' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnPullRequestEventReadyForReviewAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request

func (*EventHandler) SetOnPullRequestEventReopened

func (g *EventHandler) SetOnPullRequestEventReopened(callbacks ...PullRequestEventHandleFunc)

SetOnPullRequestEventReopened registers callbacks listening to events of type github.PullRequestEvent and action 'reopened' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnPullRequestEventReopenedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request

func (*EventHandler) SetOnPullRequestEventReviewRequestRemoved

func (g *EventHandler) SetOnPullRequestEventReviewRequestRemoved(callbacks ...PullRequestEventHandleFunc)

SetOnPullRequestEventReviewRequestRemoved registers callbacks listening to events of type github.PullRequestEvent and action 'review_request_removed' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnPullRequestEventReviewRequestRemovedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request

func (*EventHandler) SetOnPullRequestEventReviewRequested

func (g *EventHandler) SetOnPullRequestEventReviewRequested(callbacks ...PullRequestEventHandleFunc)

SetOnPullRequestEventReviewRequested registers callbacks listening to events of type github.PullRequestEvent and action 'review_requested' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnPullRequestEventReviewRequestedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request

func (*EventHandler) SetOnPullRequestEventSynchronize

func (g *EventHandler) SetOnPullRequestEventSynchronize(callbacks ...PullRequestEventHandleFunc)

SetOnPullRequestEventSynchronize registers callbacks listening to events of type github.PullRequestEvent and action 'synchronize' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnPullRequestEventSynchronizeAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request

func (*EventHandler) SetOnPullRequestEventUnassigned

func (g *EventHandler) SetOnPullRequestEventUnassigned(callbacks ...PullRequestEventHandleFunc)

SetOnPullRequestEventUnassigned registers callbacks listening to events of type github.PullRequestEvent and action 'unassigned' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnPullRequestEventUnassignedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request

func (*EventHandler) SetOnPullRequestEventUnlabeled

func (g *EventHandler) SetOnPullRequestEventUnlabeled(callbacks ...PullRequestEventHandleFunc)

SetOnPullRequestEventUnlabeled registers callbacks listening to events of type github.PullRequestEvent and action 'unlabeled' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnPullRequestEventUnlabeledAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request

func (*EventHandler) SetOnPullRequestEventUnlocked

func (g *EventHandler) SetOnPullRequestEventUnlocked(callbacks ...PullRequestEventHandleFunc)

SetOnPullRequestEventUnlocked registers callbacks listening to events of type github.PullRequestEvent and action 'unlocked' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnPullRequestEventUnlockedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request

func (*EventHandler) SetOnPullRequestReviewCommentEventAny

func (g *EventHandler) SetOnPullRequestReviewCommentEventAny(callbacks ...PullRequestReviewCommentEventHandleFunc)

SetOnPullRequestReviewCommentEventAny registers callbacks listening to any events of type github.PullRequestReviewCommentEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnPullRequestReviewCommentEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request_review_comment

func (*EventHandler) SetOnPullRequestReviewCommentEventCreated

func (g *EventHandler) SetOnPullRequestReviewCommentEventCreated(callbacks ...PullRequestReviewCommentEventHandleFunc)

SetOnPullRequestReviewCommentEventCreated registers callbacks listening to events of type github.PullRequestReviewCommentEvent and action 'created' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnPullRequestReviewCommentEventCreatedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request_review_comment

func (*EventHandler) SetOnPullRequestReviewCommentEventDeleted

func (g *EventHandler) SetOnPullRequestReviewCommentEventDeleted(callbacks ...PullRequestReviewCommentEventHandleFunc)

SetOnPullRequestReviewCommentEventDeleted registers callbacks listening to events of type github.PullRequestReviewCommentEvent and action 'deleted' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnPullRequestReviewCommentEventDeletedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request_review_comment

func (*EventHandler) SetOnPullRequestReviewCommentEventEdited

func (g *EventHandler) SetOnPullRequestReviewCommentEventEdited(callbacks ...PullRequestReviewCommentEventHandleFunc)

SetOnPullRequestReviewCommentEventEdited registers callbacks listening to events of type github.PullRequestReviewCommentEvent and action 'edited' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnPullRequestReviewCommentEventEditedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request_review_comment

func (*EventHandler) SetOnPullRequestReviewEventAny

func (g *EventHandler) SetOnPullRequestReviewEventAny(callbacks ...PullRequestReviewEventHandleFunc)

SetOnPullRequestReviewEventAny registers callbacks listening to any events of type github.PullRequestReviewEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnPullRequestReviewEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request_review

func (*EventHandler) SetOnPullRequestReviewEventDismissed

func (g *EventHandler) SetOnPullRequestReviewEventDismissed(callbacks ...PullRequestReviewEventHandleFunc)

SetOnPullRequestReviewEventDismissed registers callbacks listening to events of type github.PullRequestReviewEvent and action 'dismissed' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnPullRequestReviewEventDismissedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request_review

func (*EventHandler) SetOnPullRequestReviewEventEdited

func (g *EventHandler) SetOnPullRequestReviewEventEdited(callbacks ...PullRequestReviewEventHandleFunc)

SetOnPullRequestReviewEventEdited registers callbacks listening to events of type github.PullRequestReviewEvent and action 'edited' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnPullRequestReviewEventEditedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request_review

func (*EventHandler) SetOnPullRequestReviewEventSubmitted

func (g *EventHandler) SetOnPullRequestReviewEventSubmitted(callbacks ...PullRequestReviewEventHandleFunc)

SetOnPullRequestReviewEventSubmitted registers callbacks listening to events of type github.PullRequestReviewEvent and action 'submitted' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnPullRequestReviewEventSubmittedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request_review

func (*EventHandler) SetOnPushEventAny

func (g *EventHandler) SetOnPushEventAny(callbacks ...PushEventHandleFunc)

SetOnPushEventAny registers callbacks listening to any events of type github.PushEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnPushEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#push

func (*EventHandler) SetOnReleaseEventAny

func (g *EventHandler) SetOnReleaseEventAny(callbacks ...ReleaseEventHandleFunc)

SetOnReleaseEventAny registers callbacks listening to any events of type github.ReleaseEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnReleaseEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#release

func (*EventHandler) SetOnReleaseEventCreated

func (g *EventHandler) SetOnReleaseEventCreated(callbacks ...ReleaseEventHandleFunc)

SetOnReleaseEventCreated registers callbacks listening to events of type github.ReleaseEvent and action 'created' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnReleaseEventCreatedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#release

func (*EventHandler) SetOnReleaseEventDeleted

func (g *EventHandler) SetOnReleaseEventDeleted(callbacks ...ReleaseEventHandleFunc)

SetOnReleaseEventDeleted registers callbacks listening to events of type github.ReleaseEvent and action 'deleted' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnReleaseEventDeletedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#release

func (*EventHandler) SetOnReleaseEventEdited

func (g *EventHandler) SetOnReleaseEventEdited(callbacks ...ReleaseEventHandleFunc)

SetOnReleaseEventEdited registers callbacks listening to events of type github.ReleaseEvent and action 'edited' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnReleaseEventEditedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#release

func (*EventHandler) SetOnReleaseEventPreReleased

func (g *EventHandler) SetOnReleaseEventPreReleased(callbacks ...ReleaseEventHandleFunc)

SetOnReleaseEventPreReleased registers callbacks listening to events of type github.ReleaseEvent and action 'prereleased' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnReleaseEventPreReleasedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#release

func (*EventHandler) SetOnReleaseEventPublished

func (g *EventHandler) SetOnReleaseEventPublished(callbacks ...ReleaseEventHandleFunc)

SetOnReleaseEventPublished registers callbacks listening to events of type github.ReleaseEvent and action 'published' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnReleaseEventPublishedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#release

func (*EventHandler) SetOnReleaseEventReleased

func (g *EventHandler) SetOnReleaseEventReleased(callbacks ...ReleaseEventHandleFunc)

SetOnReleaseEventReleased registers callbacks listening to events of type github.ReleaseEvent and action 'released' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnReleaseEventReleasedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#release

func (*EventHandler) SetOnReleaseEventUnpublished

func (g *EventHandler) SetOnReleaseEventUnpublished(callbacks ...ReleaseEventHandleFunc)

SetOnReleaseEventUnpublished registers callbacks listening to events of type github.ReleaseEvent and action 'unpublished' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnReleaseEventUnpublishedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#release

func (*EventHandler) SetOnRepositoryDispatchEventAny

func (g *EventHandler) SetOnRepositoryDispatchEventAny(callbacks ...RepositoryDispatchEventHandleFunc)

SetOnRepositoryDispatchEventAny registers callbacks listening to any events of type github.RepositoryDispatchEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnRepositoryDispatchEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#repository_dispatch

func (*EventHandler) SetOnRepositoryEventAny

func (g *EventHandler) SetOnRepositoryEventAny(callbacks ...RepositoryEventHandleFunc)

SetOnRepositoryEventAny registers callbacks listening to any events of type github.RepositoryEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnRepositoryEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#repository

func (*EventHandler) SetOnRepositoryEventArchived

func (g *EventHandler) SetOnRepositoryEventArchived(callbacks ...RepositoryEventHandleFunc)

SetOnRepositoryEventArchived registers callbacks listening to events of type github.RepositoryEvent and action 'archived' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnRepositoryEventArchivedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#repository

func (*EventHandler) SetOnRepositoryEventCreated added in v1.1.1

func (g *EventHandler) SetOnRepositoryEventCreated(callbacks ...RepositoryEventHandleFunc)

SetOnRepositoryEventCreated registers callbacks listening to events of type github.RepositoryEvent and action 'created' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnRepositoryEventCreatedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#repository

func (*EventHandler) SetOnRepositoryEventDeleted

func (g *EventHandler) SetOnRepositoryEventDeleted(callbacks ...RepositoryEventHandleFunc)

SetOnRepositoryEventDeleted registers callbacks listening to events of type github.RepositoryEvent and action 'deleted' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnRepositoryEventDeletedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#repository

func (*EventHandler) SetOnRepositoryEventEdited

func (g *EventHandler) SetOnRepositoryEventEdited(callbacks ...RepositoryEventHandleFunc)

SetOnRepositoryEventEdited registers callbacks listening to events of type github.RepositoryEvent and action 'edited' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnRepositoryEventEditedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#repository

func (*EventHandler) SetOnRepositoryEventPrivatized

func (g *EventHandler) SetOnRepositoryEventPrivatized(callbacks ...RepositoryEventHandleFunc)

SetOnRepositoryEventPrivatized registers callbacks listening to events of type github.RepositoryEvent and action 'privatized' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnRepositoryEventPrivatizedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#repository

func (*EventHandler) SetOnRepositoryEventPublicized

func (g *EventHandler) SetOnRepositoryEventPublicized(callbacks ...RepositoryEventHandleFunc)

SetOnRepositoryEventPublicized registers callbacks listening to events of type github.RepositoryEvent and action 'publicized' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnRepositoryEventPublicizedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#repository

func (*EventHandler) SetOnRepositoryEventRenamed

func (g *EventHandler) SetOnRepositoryEventRenamed(callbacks ...RepositoryEventHandleFunc)

SetOnRepositoryEventRenamed registers callbacks listening to events of type github.RepositoryEvent and action 'renamed' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnRepositoryEventRenamedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#repository

func (*EventHandler) SetOnRepositoryEventTransferred

func (g *EventHandler) SetOnRepositoryEventTransferred(callbacks ...RepositoryEventHandleFunc)

SetOnRepositoryEventTransferred registers callbacks listening to events of type github.RepositoryEvent and action 'transferred' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnRepositoryEventTransferredAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#repository

func (*EventHandler) SetOnRepositoryEventUnarchived

func (g *EventHandler) SetOnRepositoryEventUnarchived(callbacks ...RepositoryEventHandleFunc)

SetOnRepositoryEventUnarchived registers callbacks listening to events of type github.RepositoryEvent and action 'unarchived' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnRepositoryEventUnarchivedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#repository

func (*EventHandler) SetOnRepositoryRulesetEventAny added in v1.20.0

func (g *EventHandler) SetOnRepositoryRulesetEventAny(callbacks ...RepositoryRulesetEventHandleFunc)

SetOnRepositoryRulesetEventAny registers callbacks listening to any events of type github.RepositoryRulesetEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnRepositoryRulesetEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#repository_ruleset

func (*EventHandler) SetOnRepositoryRulesetEventCreated added in v1.20.0

func (g *EventHandler) SetOnRepositoryRulesetEventCreated(callbacks ...RepositoryRulesetEventHandleFunc)

SetOnRepositoryRulesetEventCreated registers callbacks listening to events of type github.RepositoryRulesetEvent and action 'created' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnRepositoryRulesetEventCreatedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#repository_ruleset

func (*EventHandler) SetOnRepositoryRulesetEventDeleted added in v1.20.0

func (g *EventHandler) SetOnRepositoryRulesetEventDeleted(callbacks ...RepositoryRulesetEventHandleFunc)

SetOnRepositoryRulesetEventDeleted registers callbacks listening to events of type github.RepositoryRulesetEvent and action 'deleted' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnRepositoryRulesetEventDeletedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#repository_ruleset

func (*EventHandler) SetOnRepositoryRulesetEventEdited added in v1.20.0

func (g *EventHandler) SetOnRepositoryRulesetEventEdited(callbacks ...RepositoryRulesetEventHandleFunc)

SetOnRepositoryRulesetEventEdited registers callbacks listening to events of type github.RepositoryRulesetEvent and action 'edited' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnRepositoryRulesetEventEditedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#repository_ruleset

func (*EventHandler) SetOnRepositoryVulnerabilityAlertEventAny

func (g *EventHandler) SetOnRepositoryVulnerabilityAlertEventAny(callbacks ...RepositoryVulnerabilityAlertEventHandleFunc)

SetOnRepositoryVulnerabilityAlertEventAny registers callbacks listening to any events of type github.RepositoryVulnerabilityAlertEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnRepositoryVulnerabilityAlertEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#repository_vulnerability_alert

func (*EventHandler) SetOnRepositoryVulnerabilityAlertEventCreate

func (g *EventHandler) SetOnRepositoryVulnerabilityAlertEventCreate(callbacks ...RepositoryVulnerabilityAlertEventHandleFunc)

SetOnRepositoryVulnerabilityAlertEventCreate registers callbacks listening to events of type github.RepositoryVulnerabilityAlertEvent and action 'create' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnRepositoryVulnerabilityAlertEventCreateAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#repository_vulnerability_alert

func (*EventHandler) SetOnRepositoryVulnerabilityAlertEventDismiss

func (g *EventHandler) SetOnRepositoryVulnerabilityAlertEventDismiss(callbacks ...RepositoryVulnerabilityAlertEventHandleFunc)

SetOnRepositoryVulnerabilityAlertEventDismiss registers callbacks listening to events of type github.RepositoryVulnerabilityAlertEvent and action 'dismiss' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnRepositoryVulnerabilityAlertEventDismissAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#repository_vulnerability_alert

func (*EventHandler) SetOnRepositoryVulnerabilityAlertEventResolve

func (g *EventHandler) SetOnRepositoryVulnerabilityAlertEventResolve(callbacks ...RepositoryVulnerabilityAlertEventHandleFunc)

SetOnRepositoryVulnerabilityAlertEventResolve registers callbacks listening to events of type github.RepositoryVulnerabilityAlertEvent and action 'resolve' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnRepositoryVulnerabilityAlertEventResolveAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#repository_vulnerability_alert

func (*EventHandler) SetOnStarEventAny

func (g *EventHandler) SetOnStarEventAny(callbacks ...StarEventHandleFunc)

SetOnStarEventAny registers callbacks listening to any events of type github.StarEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnStarEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#star

func (*EventHandler) SetOnStarEventCreated

func (g *EventHandler) SetOnStarEventCreated(callbacks ...StarEventHandleFunc)

SetOnStarEventCreated registers callbacks listening to events of type github.StarEvent and action 'created' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnStarEventCreatedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#star

func (*EventHandler) SetOnStarEventDeleted

func (g *EventHandler) SetOnStarEventDeleted(callbacks ...StarEventHandleFunc)

SetOnStarEventDeleted registers callbacks listening to events of type github.StarEvent and action 'deleted' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnStarEventDeletedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#star

func (*EventHandler) SetOnStatusEventAny

func (g *EventHandler) SetOnStatusEventAny(callbacks ...StatusEventHandleFunc)

SetOnStatusEventAny registers callbacks listening to any events of type github.StatusEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnStatusEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#status

func (*EventHandler) SetOnTeamAddEventAny

func (g *EventHandler) SetOnTeamAddEventAny(callbacks ...TeamAddEventHandleFunc)

SetOnTeamAddEventAny registers callbacks listening to any events of type github.TeamAddEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnTeamAddEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#team_add

func (*EventHandler) SetOnTeamEventAddedToRepository

func (g *EventHandler) SetOnTeamEventAddedToRepository(callbacks ...TeamEventHandleFunc)

SetOnTeamEventAddedToRepository registers callbacks listening to events of type github.TeamEvent and action 'added_to_repository' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnTeamEventAddedToRepositoryAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#team

func (*EventHandler) SetOnTeamEventAny

func (g *EventHandler) SetOnTeamEventAny(callbacks ...TeamEventHandleFunc)

SetOnTeamEventAny registers callbacks listening to any events of type github.TeamEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnTeamEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#team

func (*EventHandler) SetOnTeamEventCreated

func (g *EventHandler) SetOnTeamEventCreated(callbacks ...TeamEventHandleFunc)

SetOnTeamEventCreated registers callbacks listening to events of type github.TeamEvent and action 'created' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnTeamEventCreatedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#team

func (*EventHandler) SetOnTeamEventDeleted

func (g *EventHandler) SetOnTeamEventDeleted(callbacks ...TeamEventHandleFunc)

SetOnTeamEventDeleted registers callbacks listening to events of type github.TeamEvent and action 'deleted' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnTeamEventDeletedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#team

func (*EventHandler) SetOnTeamEventEdited

func (g *EventHandler) SetOnTeamEventEdited(callbacks ...TeamEventHandleFunc)

SetOnTeamEventEdited registers callbacks listening to events of type github.TeamEvent and action 'edited' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnTeamEventEditedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#team

func (*EventHandler) SetOnTeamEventRemovedFromRepository

func (g *EventHandler) SetOnTeamEventRemovedFromRepository(callbacks ...TeamEventHandleFunc)

SetOnTeamEventRemovedFromRepository registers callbacks listening to events of type github.TeamEvent and action 'removed_from_repository' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnTeamEventRemovedFromRepositoryAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#team

func (*EventHandler) SetOnWatchEventAny

func (g *EventHandler) SetOnWatchEventAny(callbacks ...WatchEventHandleFunc)

SetOnWatchEventAny registers callbacks listening to any events of type github.WatchEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnWatchEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#watch

func (*EventHandler) SetOnWorkflowDispatchEventAny

func (g *EventHandler) SetOnWorkflowDispatchEventAny(callbacks ...WorkflowDispatchEventHandleFunc)

SetOnWorkflowDispatchEventAny registers callbacks listening to any events of type github.WorkflowDispatchEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnWorkflowDispatchEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow_dispatch

func (*EventHandler) SetOnWorkflowJobEventAny

func (g *EventHandler) SetOnWorkflowJobEventAny(callbacks ...WorkflowJobEventHandleFunc)

SetOnWorkflowJobEventAny registers callbacks listening to any events of type github.WorkflowJobEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnWorkflowJobEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow_job

func (*EventHandler) SetOnWorkflowJobEventCompleted

func (g *EventHandler) SetOnWorkflowJobEventCompleted(callbacks ...WorkflowJobEventHandleFunc)

SetOnWorkflowJobEventCompleted registers callbacks listening to events of type github.WorkflowJobEvent and action 'completed' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnWorkflowJobEventCompletedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow_job

func (*EventHandler) SetOnWorkflowJobEventInProgress

func (g *EventHandler) SetOnWorkflowJobEventInProgress(callbacks ...WorkflowJobEventHandleFunc)

SetOnWorkflowJobEventInProgress registers callbacks listening to events of type github.WorkflowJobEvent and action 'in_progress' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnWorkflowJobEventInProgressAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow_job

func (*EventHandler) SetOnWorkflowJobEventQueued

func (g *EventHandler) SetOnWorkflowJobEventQueued(callbacks ...WorkflowJobEventHandleFunc)

SetOnWorkflowJobEventQueued registers callbacks listening to events of type github.WorkflowJobEvent and action 'queued' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnWorkflowJobEventQueuedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow_job

func (*EventHandler) SetOnWorkflowRunEventAny

func (g *EventHandler) SetOnWorkflowRunEventAny(callbacks ...WorkflowRunEventHandleFunc)

SetOnWorkflowRunEventAny registers callbacks listening to any events of type github.WorkflowRunEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnWorkflowRunEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow_run

func (*EventHandler) SetOnWorkflowRunEventCompleted

func (g *EventHandler) SetOnWorkflowRunEventCompleted(callbacks ...WorkflowRunEventHandleFunc)

SetOnWorkflowRunEventCompleted registers callbacks listening to events of type github.WorkflowRunEvent and action 'completed' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnWorkflowRunEventCompletedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow_run

func (*EventHandler) SetOnWorkflowRunEventRequested

func (g *EventHandler) SetOnWorkflowRunEventRequested(callbacks ...WorkflowRunEventHandleFunc)

SetOnWorkflowRunEventRequested registers callbacks listening to events of type github.WorkflowRunEvent and action 'requested' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnWorkflowRunEventRequestedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow_run

func (*EventHandler) StarEvent

StarEvent handles github.StarEvent.

Callbacks are executed in the following order:

1) All callbacks registered with OnBeforeAny are executed in parallel. 2) All callbacks registered with OnStarEvent... are executed in parallel in case the Event has actions. 3) All callbacks registered with OnAfterAny are executed in parallel.

on any error all callbacks registered with OnError are executed in parallel.

func (*EventHandler) StatusEvent

StatusEvent handles github.StatusEvent.

Callbacks are executed in the following order:

1) All callbacks registered with OnBeforeAny are executed in parallel. 2) All callbacks registered with OnStatusEvent... are executed in parallel in case the Event has actions. 3) All callbacks registered with OnAfterAny are executed in parallel.

on any error all callbacks registered with OnError are executed in parallel.

func (*EventHandler) TeamAddEvent

TeamAddEvent handles github.TeamAddEvent.

Callbacks are executed in the following order:

1) All callbacks registered with OnBeforeAny are executed in parallel. 2) All callbacks registered with OnTeamAddEvent... are executed in parallel in case the Event has actions. 3) All callbacks registered with OnAfterAny are executed in parallel.

on any error all callbacks registered with OnError are executed in parallel.

func (*EventHandler) TeamEvent

TeamEvent handles github.TeamEvent.

Callbacks are executed in the following order:

1) All callbacks registered with OnBeforeAny are executed in parallel. 2) All callbacks registered with OnTeamEvent... are executed in parallel in case the Event has actions. 3) All callbacks registered with OnAfterAny are executed in parallel.

on any error all callbacks registered with OnError are executed in parallel.

func (*EventHandler) WatchEvent

WatchEvent handles github.WatchEvent.

Callbacks are executed in the following order:

1) All callbacks registered with OnBeforeAny are executed in parallel. 2) All callbacks registered with OnWatchEvent... are executed in parallel in case the Event has actions. 3) All callbacks registered with OnAfterAny are executed in parallel.

on any error all callbacks registered with OnError are executed in parallel.

func (*EventHandler) WorkflowDispatchEvent

WorkflowDispatchEvent handles github.WorkflowDispatchEvent.

Callbacks are executed in the following order:

1) All callbacks registered with OnBeforeAny are executed in parallel. 2) All callbacks registered with OnWorkflowDispatchEvent... are executed in parallel in case the Event has actions. 3) All callbacks registered with OnAfterAny are executed in parallel.

on any error all callbacks registered with OnError are executed in parallel.

func (*EventHandler) WorkflowJobEvent

WorkflowJobEvent handles github.WorkflowJobEvent.

Callbacks are executed in the following order:

1) All callbacks registered with OnBeforeAny are executed in parallel. 2) All callbacks registered with OnWorkflowJobEvent... are executed in parallel in case the Event has actions. 3) All callbacks registered with OnAfterAny are executed in parallel.

on any error all callbacks registered with OnError are executed in parallel.

func (*EventHandler) WorkflowRunEvent

WorkflowRunEvent handles github.WorkflowRunEvent.

Callbacks are executed in the following order:

1) All callbacks registered with OnBeforeAny are executed in parallel. 2) All callbacks registered with OnWorkflowRunEvent... are executed in parallel in case the Event has actions. 3) All callbacks registered with OnAfterAny are executed in parallel.

on any error all callbacks registered with OnError are executed in parallel.

type ForkEventHandleFunc

ForkEventHandleFunc represents a callback function triggered on github.ForkEvent's. 'deliveryID' (type: string) is the unique webhook delivery ID. 'eventName' (type: string) is the name of the event. 'event' (type: *github.ForkEvent) is the webhook payload.

type GitHubAppAuthorizationEventHandleFunc

GitHubAppAuthorizationEventHandleFunc represents a callback function triggered on github.GitHubAppAuthorizationEvent's. 'deliveryID' (type: string) is the unique webhook delivery ID. 'eventName' (type: string) is the name of the event. 'event' (type: *github.GitHubAppAuthorizationEvent) is the webhook payload.

type GollumEventHandleFunc

GollumEventHandleFunc represents a callback function triggered on github.GollumEvent's. 'deliveryID' (type: string) is the unique webhook delivery ID. 'eventName' (type: string) is the name of the event. 'event' (type: *github.GollumEvent) is the webhook payload.

type InstallationEventHandleFunc

InstallationEventHandleFunc represents a callback function triggered on github.InstallationEvent's. 'deliveryID' (type: string) is the unique webhook delivery ID. 'eventName' (type: string) is the name of the event. 'event' (type: *github.InstallationEvent) is the webhook payload.

type InstallationRepositoriesEventHandleFunc

InstallationRepositoriesEventHandleFunc represents a callback function triggered on github.InstallationRepositoriesEvent's. 'deliveryID' (type: string) is the unique webhook delivery ID. 'eventName' (type: string) is the name of the event. 'event' (type: *github.InstallationRepositoriesEvent) is the webhook payload.

type IssueCommentEventHandleFunc

IssueCommentEventHandleFunc represents a callback function triggered on github.IssueCommentEvent's. 'deliveryID' (type: string) is the unique webhook delivery ID. 'eventName' (type: string) is the name of the event. 'event' (type: *github.IssueCommentEvent) is the webhook payload.

type IssuesEventHandleFunc

IssuesEventHandleFunc represents a callback function triggered on github.IssuesEvent's. 'deliveryID' (type: string) is the unique webhook delivery ID. 'eventName' (type: string) is the name of the event. 'event' (type: *github.IssuesEvent) is the webhook payload.

type LabelEventHandleFunc

LabelEventHandleFunc represents a callback function triggered on github.LabelEvent's. 'deliveryID' (type: string) is the unique webhook delivery ID. 'eventName' (type: string) is the name of the event. 'event' (type: *github.LabelEvent) is the webhook payload.

type MarketplacePurchaseEventHandleFunc

MarketplacePurchaseEventHandleFunc represents a callback function triggered on github.MarketplacePurchaseEvent's. 'deliveryID' (type: string) is the unique webhook delivery ID. 'eventName' (type: string) is the name of the event. 'event' (type: *github.MarketplacePurchaseEvent) is the webhook payload.

type MemberEventHandleFunc

MemberEventHandleFunc represents a callback function triggered on github.MemberEvent's. 'deliveryID' (type: string) is the unique webhook delivery ID. 'eventName' (type: string) is the name of the event. 'event' (type: *github.MemberEvent) is the webhook payload.

type MembershipEventHandleFunc

MembershipEventHandleFunc represents a callback function triggered on github.MembershipEvent's. 'deliveryID' (type: string) is the unique webhook delivery ID. 'eventName' (type: string) is the name of the event. 'event' (type: *github.MembershipEvent) is the webhook payload.

type MergeGroupEventHandleFunc added in v1.12.0

MergeGroupEventHandleFunc represents a callback function triggered on github.MergeGroupEvent's. 'deliveryID' (type: string) is the unique webhook delivery ID. 'eventName' (type: string) is the name of the event. 'event' (type: *github.MergeGroupEvent) is the webhook payload.

type MetaEventHandleFunc

MetaEventHandleFunc represents a callback function triggered on github.MetaEvent's. 'deliveryID' (type: string) is the unique webhook delivery ID. 'eventName' (type: string) is the name of the event. 'event' (type: *github.MetaEvent) is the webhook payload.

type MilestoneEventHandleFunc

MilestoneEventHandleFunc represents a callback function triggered on github.MilestoneEvent's. 'deliveryID' (type: string) is the unique webhook delivery ID. 'eventName' (type: string) is the name of the event. 'event' (type: *github.MilestoneEvent) is the webhook payload.

type OrgBlockEventHandleFunc

OrgBlockEventHandleFunc represents a callback function triggered on github.OrgBlockEvent's. 'deliveryID' (type: string) is the unique webhook delivery ID. 'eventName' (type: string) is the name of the event. 'event' (type: *github.OrgBlockEvent) is the webhook payload.

type OrganizationEventHandleFunc

OrganizationEventHandleFunc represents a callback function triggered on github.OrganizationEvent's. 'deliveryID' (type: string) is the unique webhook delivery ID. 'eventName' (type: string) is the name of the event. 'event' (type: *github.OrganizationEvent) is the webhook payload.

type PackageEventHandleFunc

PackageEventHandleFunc represents a callback function triggered on github.PackageEvent's. 'deliveryID' (type: string) is the unique webhook delivery ID. 'eventName' (type: string) is the name of the event. 'event' (type: *github.PackageEvent) is the webhook payload.

type PageBuildEventHandleFunc

PageBuildEventHandleFunc represents a callback function triggered on github.PageBuildEvent's. 'deliveryID' (type: string) is the unique webhook delivery ID. 'eventName' (type: string) is the name of the event. 'event' (type: *github.PageBuildEvent) is the webhook payload.

type PingEventHandleFunc

PingEventHandleFunc represents a callback function triggered on github.PingEvent's. 'deliveryID' (type: string) is the unique webhook delivery ID. 'eventName' (type: string) is the name of the event. 'event' (type: *github.PingEvent) is the webhook payload.

type ProjectV2EventHandleFunc added in v1.21.0

ProjectV2EventHandleFunc represents a callback function triggered on github.ProjectV2Event's. 'deliveryID' (type: string) is the unique webhook delivery ID. 'eventName' (type: string) is the name of the event. 'event' (type: *github.ProjectV2Event) is the webhook payload.

type ProjectV2ItemEventHandleFunc added in v1.21.0

ProjectV2ItemEventHandleFunc represents a callback function triggered on github.ProjectV2ItemEvent's. 'deliveryID' (type: string) is the unique webhook delivery ID. 'eventName' (type: string) is the name of the event. 'event' (type: *github.ProjectV2ItemEvent) is the webhook payload.

type PublicEventHandleFunc

PublicEventHandleFunc represents a callback function triggered on github.PublicEvent's. 'deliveryID' (type: string) is the unique webhook delivery ID. 'eventName' (type: string) is the name of the event. 'event' (type: *github.PublicEvent) is the webhook payload.

type PullRequestEventHandleFunc

PullRequestEventHandleFunc represents a callback function triggered on github.PullRequestEvent's. 'deliveryID' (type: string) is the unique webhook delivery ID. 'eventName' (type: string) is the name of the event. 'event' (type: *github.PullRequestEvent) is the webhook payload.

type PullRequestReviewCommentEventHandleFunc

PullRequestReviewCommentEventHandleFunc represents a callback function triggered on github.PullRequestReviewCommentEvent's. 'deliveryID' (type: string) is the unique webhook delivery ID. 'eventName' (type: string) is the name of the event. 'event' (type: *github.PullRequestReviewCommentEvent) is the webhook payload.

type PullRequestReviewEventHandleFunc

PullRequestReviewEventHandleFunc represents a callback function triggered on github.PullRequestReviewEvent's. 'deliveryID' (type: string) is the unique webhook delivery ID. 'eventName' (type: string) is the name of the event. 'event' (type: *github.PullRequestReviewEvent) is the webhook payload.

type PushEventHandleFunc

PushEventHandleFunc represents a callback function triggered on github.PushEvent's. 'deliveryID' (type: string) is the unique webhook delivery ID. 'eventName' (type: string) is the name of the event. 'event' (type: *github.PushEvent) is the webhook payload.

type ReleaseEventHandleFunc

ReleaseEventHandleFunc represents a callback function triggered on github.ReleaseEvent's. 'deliveryID' (type: string) is the unique webhook delivery ID. 'eventName' (type: string) is the name of the event. 'event' (type: *github.ReleaseEvent) is the webhook payload.

type RepositoryDispatchEventHandleFunc

RepositoryDispatchEventHandleFunc represents a callback function triggered on github.RepositoryDispatchEvent's. 'deliveryID' (type: string) is the unique webhook delivery ID. 'eventName' (type: string) is the name of the event. 'event' (type: *github.RepositoryDispatchEvent) is the webhook payload.

type RepositoryEventHandleFunc

RepositoryEventHandleFunc represents a callback function triggered on github.RepositoryEvent's. 'deliveryID' (type: string) is the unique webhook delivery ID. 'eventName' (type: string) is the name of the event. 'event' (type: *github.RepositoryEvent) is the webhook payload.

type RepositoryRulesetEventHandleFunc added in v1.20.0

RepositoryRulesetEventHandleFunc represents a callback function triggered on github.RepositoryRulesetEvent's. 'deliveryID' (type: string) is the unique webhook delivery ID. 'eventName' (type: string) is the name of the event. 'event' (type: *github.RepositoryRulesetEvent) is the webhook payload.

type RepositoryVulnerabilityAlertEventHandleFunc

RepositoryVulnerabilityAlertEventHandleFunc represents a callback function triggered on github.RepositoryVulnerabilityAlertEvent's. 'deliveryID' (type: string) is the unique webhook delivery ID. 'eventName' (type: string) is the name of the event. 'event' (type: *github.RepositoryVulnerabilityAlertEvent) is the webhook payload.

type StarEventHandleFunc

StarEventHandleFunc represents a callback function triggered on github.StarEvent's. 'deliveryID' (type: string) is the unique webhook delivery ID. 'eventName' (type: string) is the name of the event. 'event' (type: *github.StarEvent) is the webhook payload.

type StatusEventHandleFunc

StatusEventHandleFunc represents a callback function triggered on github.StatusEvent's. 'deliveryID' (type: string) is the unique webhook delivery ID. 'eventName' (type: string) is the name of the event. 'event' (type: *github.StatusEvent) is the webhook payload.

type TeamAddEventHandleFunc

TeamAddEventHandleFunc represents a callback function triggered on github.TeamAddEvent's. 'deliveryID' (type: string) is the unique webhook delivery ID. 'eventName' (type: string) is the name of the event. 'event' (type: *github.TeamAddEvent) is the webhook payload.

type TeamEventHandleFunc

TeamEventHandleFunc represents a callback function triggered on github.TeamEvent's. 'deliveryID' (type: string) is the unique webhook delivery ID. 'eventName' (type: string) is the name of the event. 'event' (type: *github.TeamEvent) is the webhook payload.

type WatchEventHandleFunc

WatchEventHandleFunc represents a callback function triggered on github.WatchEvent's. 'deliveryID' (type: string) is the unique webhook delivery ID. 'eventName' (type: string) is the name of the event. 'event' (type: *github.WatchEvent) is the webhook payload.

type WorkflowDispatchEventHandleFunc

WorkflowDispatchEventHandleFunc represents a callback function triggered on github.WorkflowDispatchEvent's. 'deliveryID' (type: string) is the unique webhook delivery ID. 'eventName' (type: string) is the name of the event. 'event' (type: *github.WorkflowDispatchEvent) is the webhook payload.

type WorkflowJobEventHandleFunc

WorkflowJobEventHandleFunc represents a callback function triggered on github.WorkflowJobEvent's. 'deliveryID' (type: string) is the unique webhook delivery ID. 'eventName' (type: string) is the name of the event. 'event' (type: *github.WorkflowJobEvent) is the webhook payload.

type WorkflowRunEventHandleFunc

WorkflowRunEventHandleFunc represents a callback function triggered on github.WorkflowRunEvent's. 'deliveryID' (type: string) is the unique webhook delivery ID. 'eventName' (type: string) is the name of the event. 'event' (type: *github.WorkflowRunEvent) is the webhook payload.