A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://pkg.go.dev/github.com/cbrgm/githubevents/githubevents below:

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

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

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) OnBranchProtectionRuleEventEdited

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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) OnGollumEventAny

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

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

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

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

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

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

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) OnIssueCommentCreated

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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) OnMarketplacePurchaseEventCancelled

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

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

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) OnMarketplacePurchaseEventPurchased

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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) OnPullRequestReviewEventAny

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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) OnStarEventAny

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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) SetOnGitHubAppAuthorizationEventRevoked

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

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

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

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

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

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

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

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

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) SetOnInstallationRepositoriesEventRemoved

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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) SetOnPullRequestReviewEventAny

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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) SetOnStarEventAny

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4