githubevents

package
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 30, 2022 License: MIT Imports: 5 Imported by: 11

Documentation

Index

Constants

View Source
const (
	// BranchProtectionRuleEvent is the event name of github.BranchProtectionRuleEvent's
	BranchProtectionRuleEvent = "branch_protection_rule"

	// BranchProtectionRuleEventAnyAction is used to identify callbacks
	// listening to all events of type github.BranchProtectionRuleEvent
	BranchProtectionRuleEventAnyAction = "*"

	// BranchProtectionRuleEventCreatedAction is used to identify callbacks
	// listening to events of type github.BranchProtectionRuleEvent and action "created"
	BranchProtectionRuleEventCreatedAction = "created"

	// BranchProtectionRuleEventEditedAction is used to identify callbacks
	// listening to events of type github.BranchProtectionRuleEvent and action "edited"
	BranchProtectionRuleEventEditedAction = "edited"

	// BranchProtectionRuleEventDeletedAction is used to identify callbacks
	// listening to events of type github.BranchProtectionRuleEvent and action "deleted"
	BranchProtectionRuleEventDeletedAction = "deleted"
)

Actions are used to identify registered callbacks.

View Source
const (
	// CheckRunEvent is the event name of github.CheckRunEvent's
	CheckRunEvent = "check_run"

	// CheckRunEventAnyAction is used to identify callbacks
	// listening to all events of type github.CheckRunEvent
	CheckRunEventAnyAction = "*"

	// CheckRunEventCreatedAction is used to identify callbacks
	// listening to events of type github.CheckRunEvent and action "created"
	CheckRunEventCreatedAction = "created"

	// CheckRunEventCompletedAction is used to identify callbacks
	// listening to events of type github.CheckRunEvent and action "completed"
	CheckRunEventCompletedAction = "completed"

	// CheckRunEventReRequestedAction is used to identify callbacks
	// listening to events of type github.CheckRunEvent and action "rerequested"
	CheckRunEventReRequestedAction = "rerequested"

	// CheckRunEventRequestActionAction is used to identify callbacks
	// listening to events of type github.CheckRunEvent and action "requested_action"
	CheckRunEventRequestActionAction = "requested_action"
)

Actions are used to identify registered callbacks.

View Source
const (
	// CheckSuiteEvent is the event name of github.CheckSuiteEvent's
	CheckSuiteEvent = "check_suite"

	// CheckSuiteEventAnyAction is used to identify callbacks
	// listening to all events of type github.CheckSuiteEvent
	CheckSuiteEventAnyAction = "*"

	// CheckSuiteEventCompletedAction is used to identify callbacks
	// listening to events of type github.CheckSuiteEvent and action "completed"
	CheckSuiteEventCompletedAction = "completed"

	// CheckSuiteEventRequestedAction is used to identify callbacks
	// listening to events of type github.CheckSuiteEvent and action "requested"
	CheckSuiteEventRequestedAction = "requested"

	// CheckSuiteEventReRequestedAction is used to identify callbacks
	// listening to events of type github.CheckSuiteEvent and action "rerequested"
	CheckSuiteEventReRequestedAction = "rerequested"
)

Actions are used to identify registered callbacks.

View Source
const (
	// CommitCommentEvent is the event name of github.CommitCommentEvent's
	CommitCommentEvent = "commit_comment"

	// CommitCommentEventAnyAction is used to identify callbacks
	// listening to all events of type github.CommitCommentEvent
	CommitCommentEventAnyAction = "*"

	// CommitCommentEventCreatedAction is used to identify callbacks
	// listening to events of type github.CommitCommentEvent and action "created"
	CommitCommentEventCreatedAction = "created"
)

Actions are used to identify registered callbacks.

View Source
const (
	// CreateEvent is the event name of github.CreateEvent's
	CreateEvent = "create"

	// CreateEventAnyAction is used to identify callbacks
	// listening to all events of type github.CreateEvent
	CreateEventAnyAction = "*"
)

Actions are used to identify registered callbacks.

View Source
const (
	// DeleteEvent is the event name of github.DeleteEvent's
	DeleteEvent = "delete"

	// DeleteEventAnyAction is used to identify callbacks
	// listening to all events of type github.DeleteEvent
	DeleteEventAnyAction = "*"
)

Actions are used to identify registered callbacks.

View Source
const (
	// DeployKeyEvent is the event name of github.DeployKeyEvent's
	DeployKeyEvent = "deploy_key"

	// DeployKeyEventAnyAction is used to identify callbacks
	// listening to all events of type github.DeployKeyEvent
	DeployKeyEventAnyAction = "*"

	// DeployKeyEventCreatedAction is used to identify callbacks
	// listening to events of type github.DeployKeyEvent and action "created"
	DeployKeyEventCreatedAction = "created"

	// DeployKeyEventDeletedAction is used to identify callbacks
	// listening to events of type github.DeployKeyEvent and action "deleted"
	DeployKeyEventDeletedAction = "deleted"
)

Actions are used to identify registered callbacks.

View Source
const (
	// DeploymentEvent is the event name of github.DeploymentEvent's
	DeploymentEvent = "deployment"

	// DeploymentEventAnyAction is used to identify callbacks
	// listening to all events of type github.DeploymentEvent
	DeploymentEventAnyAction = "*"
)

Actions are used to identify registered callbacks.

View Source
const (
	// DeploymentStatusEvent is the event name of github.DeploymentStatusEvent's
	DeploymentStatusEvent = "deployment_status"

	// DeploymentStatusEventAnyAction is used to identify callbacks
	// listening to all events of type github.DeploymentStatusEvent
	DeploymentStatusEventAnyAction = "*"
)

Actions are used to identify registered callbacks.

View Source
const (
	// DiscussionEvent is the event name of github.DiscussionEvent's
	DiscussionEvent = "discussion"

	// DiscussionEventAnyAction is used to identify callbacks
	// listening to all events of type github.DiscussionEvent
	DiscussionEventAnyAction = "*"

	// DiscussionEventCreatedAction is used to identify callbacks
	// listening to events of type github.DiscussionEvent and action "created"
	DiscussionEventCreatedAction = "created"

	// DiscussionEventEditedAction is used to identify callbacks
	// listening to events of type github.DiscussionEvent and action "edited"
	DiscussionEventEditedAction = "edited"

	// DiscussionEventDeletedAction is used to identify callbacks
	// listening to events of type github.DiscussionEvent and action "deleted"
	DiscussionEventDeletedAction = "deleted"

	// DiscussionEventPinnedAction is used to identify callbacks
	// listening to events of type github.DiscussionEvent and action "pinned"
	DiscussionEventPinnedAction = "pinned"

	// DiscussionEventUnpinnedAction is used to identify callbacks
	// listening to events of type github.DiscussionEvent and action "unpinned"
	DiscussionEventUnpinnedAction = "unpinned"

	// DiscussionEventLockedAction is used to identify callbacks
	// listening to events of type github.DiscussionEvent and action "locked"
	DiscussionEventLockedAction = "locked"

	// DiscussionEventUnlockedAction is used to identify callbacks
	// listening to events of type github.DiscussionEvent and action "unlocked"
	DiscussionEventUnlockedAction = "unlocked"

	// DiscussionEventTransferredAction is used to identify callbacks
	// listening to events of type github.DiscussionEvent and action "transferred"
	DiscussionEventTransferredAction = "transferred"

	// DiscussionEventCategoryChangedAction is used to identify callbacks
	// listening to events of type github.DiscussionEvent and action "category_changed"
	DiscussionEventCategoryChangedAction = "category_changed"

	// DiscussionEventAnsweredAction is used to identify callbacks
	// listening to events of type github.DiscussionEvent and action "answered"
	DiscussionEventAnsweredAction = "answered"

	// DiscussionEventUnansweredAction is used to identify callbacks
	// listening to events of type github.DiscussionEvent and action "unanswered"
	DiscussionEventUnansweredAction = "unanswered"

	// DiscussionEventLabeledAction is used to identify callbacks
	// listening to events of type github.DiscussionEvent and action "labeled"
	DiscussionEventLabeledAction = "labeled"

	// DiscussionEventUnlabeledAction is used to identify callbacks
	// listening to events of type github.DiscussionEvent and action "unlabeled"
	DiscussionEventUnlabeledAction = "unlabeled"
)

Actions are used to identify registered callbacks.

View Source
const (
	// ForkEvent is the event name of github.ForkEvent's
	ForkEvent = "fork"

	// ForkEventAnyAction is used to identify callbacks
	// listening to all events of type github.ForkEvent
	ForkEventAnyAction = "*"
)

Actions are used to identify registered callbacks.

View Source
const (
	// GitHubAppAuthorizationEvent is the event name of github.GitHubAppAuthorizationEvent's
	GitHubAppAuthorizationEvent = "github_app_authorization"

	// GitHubAppAuthorizationEventAnyAction is used to identify callbacks
	// listening to all events of type github.GitHubAppAuthorizationEvent
	GitHubAppAuthorizationEventAnyAction = "*"

	// GitHubAppAuthorizationEventRevokedAction is used to identify callbacks
	// listening to events of type github.GitHubAppAuthorizationEvent and action "revoked"
	GitHubAppAuthorizationEventRevokedAction = "revoked"
)

Actions are used to identify registered callbacks.

View Source
const (
	// GollumEvent is the event name of github.GollumEvent's
	GollumEvent = "gollum"

	// GollumEventAnyAction is used to identify callbacks
	// listening to all events of type github.GollumEvent
	GollumEventAnyAction = "*"
)

Actions are used to identify registered callbacks.

View Source
const (
	// InstallationEvent is the event name of github.InstallationEvent's
	InstallationEvent = "installation"

	// InstallationEventAnyAction is used to identify callbacks
	// listening to all events of type github.InstallationEvent
	InstallationEventAnyAction = "*"

	// InstallationEventCreatedAction is used to identify callbacks
	// listening to events of type github.InstallationEvent and action "created"
	InstallationEventCreatedAction = "created"

	// InstallationEventDeletedAction is used to identify callbacks
	// listening to events of type github.InstallationEvent and action "deleted"
	InstallationEventDeletedAction = "deleted"

	// InstallationEventEventSuspendAction is used to identify callbacks
	// listening to events of type github.InstallationEvent and action "suspend"
	InstallationEventEventSuspendAction = "suspend"

	// InstallationEventEventUnsuspendAction is used to identify callbacks
	// listening to events of type github.InstallationEvent and action "unsuspend"
	InstallationEventEventUnsuspendAction = "unsuspend"

	// InstallationEventNewPermissionsAcceptedAction is used to identify callbacks
	// listening to events of type github.InstallationEvent and action "new_permissions_accepted"
	InstallationEventNewPermissionsAcceptedAction = "new_permissions_accepted"
)

Actions are used to identify registered callbacks.

View Source
const (
	// InstallationRepositoriesEvent is the event name of github.InstallationRepositoriesEvent's
	InstallationRepositoriesEvent = "installation_repositories"

	// InstallationRepositoriesEventAnyAction is used to identify callbacks
	// listening to all events of type github.InstallationRepositoriesEvent
	InstallationRepositoriesEventAnyAction = "*"

	// InstallationRepositoriesEventAddedAction is used to identify callbacks
	// listening to events of type github.InstallationRepositoriesEvent and action "added"
	InstallationRepositoriesEventAddedAction = "added"

	// InstallationRepositoriesEventRemovedAction is used to identify callbacks
	// listening to events of type github.InstallationRepositoriesEvent and action "removed"
	InstallationRepositoriesEventRemovedAction = "removed"
)

Actions are used to identify registered callbacks.

View Source
const (
	// IssueCommentEvent is the event name of github.IssueCommentEvent's
	IssueCommentEvent = "issue_comment"

	// IssueCommentEventAnyAction is used to identify callbacks
	// listening to all events of type github.IssueCommentEvent
	IssueCommentEventAnyAction = "*"

	// IssueCommentCreatedAction is used to identify callbacks
	// listening to events of type github.IssueCommentEvent and action "created"
	IssueCommentCreatedAction = "created"

	// IssueCommentEditedAction is used to identify callbacks
	// listening to events of type github.IssueCommentEvent and action "edited"
	IssueCommentEditedAction = "edited"

	// IssueCommentDeletedAction is used to identify callbacks
	// listening to events of type github.IssueCommentEvent and action "deleted"
	IssueCommentDeletedAction = "deleted"
)

Actions are used to identify registered callbacks.

View Source
const (
	// IssuesEvent is the event name of github.IssuesEvent's
	IssuesEvent = "issues"

	// IssuesEventAnyAction is used to identify callbacks
	// listening to all events of type github.IssuesEvent
	IssuesEventAnyAction = "*"

	// IssuesEventOpenedAction is used to identify callbacks
	// listening to events of type github.IssuesEvent and action "opened"
	IssuesEventOpenedAction = "opened"

	// IssuesEventEditedAction is used to identify callbacks
	// listening to events of type github.IssuesEvent and action "edited"
	IssuesEventEditedAction = "edited"

	// IssuesEventDeletedAction is used to identify callbacks
	// listening to events of type github.IssuesEvent and action "deleted"
	IssuesEventDeletedAction = "deleted"

	// IssuesEventPinnedAction is used to identify callbacks
	// listening to events of type github.IssuesEvent and action "pinned"
	IssuesEventPinnedAction = "pinned"

	// IssuesEventUnpinnedAction is used to identify callbacks
	// listening to events of type github.IssuesEvent and action "unpinned"
	IssuesEventUnpinnedAction = "unpinned"

	// IssuesEventClosedAction is used to identify callbacks
	// listening to events of type github.IssuesEvent and action "closed"
	IssuesEventClosedAction = "closed"

	// IssuesEventReopenedAction is used to identify callbacks
	// listening to events of type github.IssuesEvent and action "reopened"
	IssuesEventReopenedAction = "reopened"

	// IssuesEventAssignedAction is used to identify callbacks
	// listening to events of type github.IssuesEvent and action "assigned"
	IssuesEventAssignedAction = "assigned"

	// IssuesEventUnassignedAction is used to identify callbacks
	// listening to events of type github.IssuesEvent and action "unassigned"
	IssuesEventUnassignedAction = "unassigned"

	// IssuesEventLabeledAction is used to identify callbacks
	// listening to events of type github.IssuesEvent and action "labeled"
	IssuesEventLabeledAction = "labeled"

	// IssuesEventUnlabeledAction is used to identify callbacks
	// listening to events of type github.IssuesEvent and action "unlabeled"
	IssuesEventUnlabeledAction = "unlabeled"

	// IssuesEventLockedAction is used to identify callbacks
	// listening to events of type github.IssuesEvent and action "locked"
	IssuesEventLockedAction = "locked"

	// IssuesEventUnlockedAction is used to identify callbacks
	// listening to events of type github.IssuesEvent and action "unlocked"
	IssuesEventUnlockedAction = "unlocked"

	// IssuesEventTransferredAction is used to identify callbacks
	// listening to events of type github.IssuesEvent and action "transferred"
	IssuesEventTransferredAction = "transferred"

	// IssuesEventMilestonedAction is used to identify callbacks
	// listening to events of type github.IssuesEvent and action "milestoned"
	IssuesEventMilestonedAction = "milestoned"

	// IssuesEventDeMilestonedAction is used to identify callbacks
	// listening to events of type github.IssuesEvent and action "demilestoned"
	IssuesEventDeMilestonedAction = "demilestoned"
)

Actions are used to identify registered callbacks.

View Source
const (
	// LabelEvent is the event name of github.LabelEvent's
	LabelEvent = "label"

	// LabelEventAnyAction is used to identify callbacks
	// listening to all events of type github.LabelEvent
	LabelEventAnyAction = "*"

	// LabelEventCreatedAction is used to identify callbacks
	// listening to events of type github.LabelEvent and action "created"
	LabelEventCreatedAction = "created"

	// LabelEventEditedAction is used to identify callbacks
	// listening to events of type github.LabelEvent and action "edited"
	LabelEventEditedAction = "edited"

	// LabelEventDeletedAction is used to identify callbacks
	// listening to events of type github.LabelEvent and action "deleted"
	LabelEventDeletedAction = "deleted"
)

Actions are used to identify registered callbacks.

View Source
const (
	// MarketplacePurchaseEvent is the event name of github.MarketplacePurchaseEvent's
	MarketplacePurchaseEvent = "marketplace_purchase"

	// MarketplacePurchaseEventAnyAction is used to identify callbacks
	// listening to all events of type github.MarketplacePurchaseEvent
	MarketplacePurchaseEventAnyAction = "*"

	// MarketplacePurchaseEventPurchasedAction is used to identify callbacks
	// listening to events of type github.MarketplacePurchaseEvent and action "purchased"
	MarketplacePurchaseEventPurchasedAction = "purchased"

	// MarketplacePurchaseEventPendingChangeAction is used to identify callbacks
	// listening to events of type github.MarketplacePurchaseEvent and action "pending_change"
	MarketplacePurchaseEventPendingChangeAction = "pending_change"

	// MarketplacePurchaseEventPendingChangeCancelledAction is used to identify callbacks
	// listening to events of type github.MarketplacePurchaseEvent and action "pending_change_cancelled"
	MarketplacePurchaseEventPendingChangeCancelledAction = "pending_change_cancelled"

	// MarketplacePurchaseEventChangedAction is used to identify callbacks
	// listening to events of type github.MarketplacePurchaseEvent and action "changed"
	MarketplacePurchaseEventChangedAction = "changed"

	// MarketplacePurchaseEventCancelledAction is used to identify callbacks
	// listening to events of type github.MarketplacePurchaseEvent and action "cancelled"
	MarketplacePurchaseEventCancelledAction = "cancelled"
)

Actions are used to identify registered callbacks.

View Source
const (
	// MemberEvent is the event name of github.MemberEvent's
	MemberEvent = "member"

	// MemberEventAnyAction is used to identify callbacks
	// listening to all events of type github.MemberEvent
	MemberEventAnyAction = "*"

	// MemberEventAddedAction is used to identify callbacks
	// listening to events of type github.MemberEvent and action "added"
	MemberEventAddedAction = "added"

	// MemberEventRemovedAction is used to identify callbacks
	// listening to events of type github.MemberEvent and action "removed"
	MemberEventRemovedAction = "removed"

	// MemberEventEditedAction is used to identify callbacks
	// listening to events of type github.MemberEvent and action "edited"
	MemberEventEditedAction = "edited"
)

Actions are used to identify registered callbacks.

View Source
const (
	// MembershipEvent is the event name of github.MembershipEvent's
	MembershipEvent = "membership"

	// MembershipEventAnyAction is used to identify callbacks
	// listening to all events of type github.MembershipEvent
	MembershipEventAnyAction = "*"

	// MembershipEventAddedAction is used to identify callbacks
	// listening to events of type github.MembershipEvent and action "added"
	MembershipEventAddedAction = "added"

	// MembershipEventRemovedAction is used to identify callbacks
	// listening to events of type github.MembershipEvent and action "removed"
	MembershipEventRemovedAction = "removed"
)

Actions are used to identify registered callbacks.

View Source
const (
	// MetaEvent is the event name of github.MetaEvent's
	MetaEvent = "meta"

	// MetaEventAnyAction is used to identify callbacks
	// listening to all events of type github.MetaEvent
	MetaEventAnyAction = "*"
)

Actions are used to identify registered callbacks.

View Source
const (
	// MilestoneEvent is the event name of github.MilestoneEvent's
	MilestoneEvent = "milestone"

	// MilestoneEventAnyAction is used to identify callbacks
	// listening to all events of type github.MilestoneEvent
	MilestoneEventAnyAction = "*"

	// MilestoneEventCreatedAction is used to identify callbacks
	// listening to events of type github.MilestoneEvent and action "created"
	MilestoneEventCreatedAction = "created"

	// MilestoneEventClosedAction is used to identify callbacks
	// listening to events of type github.MilestoneEvent and action "closed"
	MilestoneEventClosedAction = "closed"

	// MilestoneEventOpenedAction is used to identify callbacks
	// listening to events of type github.MilestoneEvent and action "opened"
	MilestoneEventOpenedAction = "opened"

	// MilestoneEventEditedAction is used to identify callbacks
	// listening to events of type github.MilestoneEvent and action "edited"
	MilestoneEventEditedAction = "edited"

	// MilestoneEventDeletedAction is used to identify callbacks
	// listening to events of type github.MilestoneEvent and action "deleted"
	MilestoneEventDeletedAction = "deleted"
)

Actions are used to identify registered callbacks.

View Source
const (
	// OrgBlockEvent is the event name of github.OrgBlockEvent's
	OrgBlockEvent = "org_block"

	// OrgBlockEventAnyAction is used to identify callbacks
	// listening to all events of type github.OrgBlockEvent
	OrgBlockEventAnyAction = "*"

	// OrgBlockEventBlockedAction is used to identify callbacks
	// listening to events of type github.OrgBlockEvent and action "blocked"
	OrgBlockEventBlockedAction = "blocked"

	// OrgBlockEventUnblockedAction is used to identify callbacks
	// listening to events of type github.OrgBlockEvent and action "unblocked"
	OrgBlockEventUnblockedAction = "unblocked"
)

Actions are used to identify registered callbacks.

View Source
const (
	// OrganizationEvent is the event name of github.OrganizationEvent's
	OrganizationEvent = "organization"

	// OrganizationEventAnyAction is used to identify callbacks
	// listening to all events of type github.OrganizationEvent
	OrganizationEventAnyAction = "*"

	// OrganizationEventDeletedAction is used to identify callbacks
	// listening to events of type github.OrganizationEvent and action "deleted"
	OrganizationEventDeletedAction = "deleted"

	// OrganizationEventRenamedAction is used to identify callbacks
	// listening to events of type github.OrganizationEvent and action "renamed"
	OrganizationEventRenamedAction = "renamed"

	// OrganizationEventMemberAddedAction is used to identify callbacks
	// listening to events of type github.OrganizationEvent and action "member_added"
	OrganizationEventMemberAddedAction = "member_added"

	// OrganizationEventMemberRemovedAction is used to identify callbacks
	// listening to events of type github.OrganizationEvent and action "member_removed"
	OrganizationEventMemberRemovedAction = "member_removed"

	// OrganizationEventMemberInvitedAction is used to identify callbacks
	// listening to events of type github.OrganizationEvent and action "member_invited"
	OrganizationEventMemberInvitedAction = "member_invited"
)

Actions are used to identify registered callbacks.

View Source
const (
	// PackageEvent is the event name of github.PackageEvent's
	PackageEvent = "package"

	// PackageEventAnyAction is used to identify callbacks
	// listening to all events of type github.PackageEvent
	PackageEventAnyAction = "*"

	// PackageEventPublishedAction is used to identify callbacks
	// listening to events of type github.PackageEvent and action "published"
	PackageEventPublishedAction = "published"

	// PackageEventUpdatedAction is used to identify callbacks
	// listening to events of type github.PackageEvent and action "updated"
	PackageEventUpdatedAction = "updated"
)

Actions are used to identify registered callbacks.

View Source
const (
	// PageBuildEvent is the event name of github.PageBuildEvent's
	PageBuildEvent = "page_build"

	// PageBuildEventAnyAction is used to identify callbacks
	// listening to all events of type github.PageBuildEvent
	PageBuildEventAnyAction = "*"
)

Actions are used to identify registered callbacks.

View Source
const (
	// PingEvent is the event name of github.PingEvent's
	PingEvent = "ping"

	// PingEventAnyAction is used to identify callbacks
	// listening to all events of type github.PingEvent
	PingEventAnyAction = "*"
)

Actions are used to identify registered callbacks.

View Source
const (
	// ProjectEvent is the event name of github.ProjectEvent's
	ProjectEvent = "project"

	// ProjectEventAnyAction is used to identify callbacks
	// listening to all events of type github.ProjectEvent
	ProjectEventAnyAction = "*"

	// ProjectEventCreatedAction is used to identify callbacks
	// listening to events of type github.ProjectEvent and action "created"
	ProjectEventCreatedAction = "created"

	// ProjectEventEditedAction is used to identify callbacks
	// listening to events of type github.ProjectEvent and action "edited"
	ProjectEventEditedAction = "edited"

	// ProjectEventClosedAction is used to identify callbacks
	// listening to events of type github.ProjectEvent and action "closed"
	ProjectEventClosedAction = "closed"

	// ProjectEventReopenedAction is used to identify callbacks
	// listening to events of type github.ProjectEvent and action "reopened"
	ProjectEventReopenedAction = "reopened"

	// ProjectEventDeletedAction is used to identify callbacks
	// listening to events of type github.ProjectEvent and action "deleted"
	ProjectEventDeletedAction = "deleted"
)

Actions are used to identify registered callbacks.

View Source
const (
	// ProjectCardEvent is the event name of github.ProjectCardEvent's
	ProjectCardEvent = "project_card"

	// ProjectCardEventAnyAction is used to identify callbacks
	// listening to all events of type github.ProjectCardEvent
	ProjectCardEventAnyAction = "*"

	// ProjectCardEventCreatedAction is used to identify callbacks
	// listening to events of type github.ProjectCardEvent and action "created"
	ProjectCardEventCreatedAction = "created"

	// ProjectCardEventEditedAction is used to identify callbacks
	// listening to events of type github.ProjectCardEvent and action "edited"
	ProjectCardEventEditedAction = "edited"

	// ProjectCardEventConvertedAction is used to identify callbacks
	// listening to events of type github.ProjectCardEvent and action "converted"
	ProjectCardEventConvertedAction = "converted"

	// ProjectCardEventMovedAction is used to identify callbacks
	// listening to events of type github.ProjectCardEvent and action "moved"
	ProjectCardEventMovedAction = "moved"

	// ProjectCardEventDeletedAction is used to identify callbacks
	// listening to events of type github.ProjectCardEvent and action "deleted"
	ProjectCardEventDeletedAction = "deleted"
)

Actions are used to identify registered callbacks.

View Source
const (
	// ProjectColumnEvent is the event name of github.ProjectColumnEvent's
	ProjectColumnEvent = "project_column"

	// ProjectColumnEventAnyAction is used to identify callbacks
	// listening to all events of type github.ProjectColumnEvent
	ProjectColumnEventAnyAction = "*"

	// ProjectColumnEventCreatedAction is used to identify callbacks
	// listening to events of type github.ProjectColumnEvent and action "created"
	ProjectColumnEventCreatedAction = "created"

	// ProjectColumnEventEditedAction is used to identify callbacks
	// listening to events of type github.ProjectColumnEvent and action "edited"
	ProjectColumnEventEditedAction = "edited"

	// ProjectColumnEventMovedAction is used to identify callbacks
	// listening to events of type github.ProjectColumnEvent and action "moved"
	ProjectColumnEventMovedAction = "moved"

	// ProjectColumnEventDeletedAction is used to identify callbacks
	// listening to events of type github.ProjectColumnEvent and action "deleted"
	ProjectColumnEventDeletedAction = "deleted"
)

Actions are used to identify registered callbacks.

View Source
const (
	// PublicEvent is the event name of github.PublicEvent's
	PublicEvent = "public"

	// PublicEventAnyAction is used to identify callbacks
	// listening to all events of type github.PublicEvent
	PublicEventAnyAction = "*"
)

Actions are used to identify registered callbacks.

View Source
const (
	// PullRequestEvent is the event name of github.PullRequestEvent's
	PullRequestEvent = "pull_request"

	// PullRequestEventAnyAction is used to identify callbacks
	// listening to all events of type github.PullRequestEvent
	PullRequestEventAnyAction = "*"

	// PullRequestEventAssignedAction is used to identify callbacks
	// listening to events of type github.PullRequestEvent and action "assigned"
	PullRequestEventAssignedAction = "assigned"

	// PullRequestEventAutoMergeDisabledAction is used to identify callbacks
	// listening to events of type github.PullRequestEvent and action "auto_merge_disabled"
	PullRequestEventAutoMergeDisabledAction = "auto_merge_disabled"

	// PullRequestEventAutoMergeEnabledAction is used to identify callbacks
	// listening to events of type github.PullRequestEvent and action "auto_merge_enabled"
	PullRequestEventAutoMergeEnabledAction = "auto_merge_enabled"

	// PullRequestEventClosedAction is used to identify callbacks
	// listening to events of type github.PullRequestEvent and action "closed"
	PullRequestEventClosedAction = "closed"

	// PullRequestEventConvertedToDraftAction is used to identify callbacks
	// listening to events of type github.PullRequestEvent and action "converted_to_draft"
	PullRequestEventConvertedToDraftAction = "converted_to_draft"

	// PullRequestEventEditedAction is used to identify callbacks
	// listening to events of type github.PullRequestEvent and action "edited"
	PullRequestEventEditedAction = "edited"

	// PullRequestEventLabeledAction is used to identify callbacks
	// listening to events of type github.PullRequestEvent and action "labeled"
	PullRequestEventLabeledAction = "labeled"

	// PullRequestEventLockedAction is used to identify callbacks
	// listening to events of type github.PullRequestEvent and action "locked"
	PullRequestEventLockedAction = "locked"

	// PullRequestEventOpenedAction is used to identify callbacks
	// listening to events of type github.PullRequestEvent and action "opened"
	PullRequestEventOpenedAction = "opened"

	// PullRequestEventReadyForReviewAction is used to identify callbacks
	// listening to events of type github.PullRequestEvent and action "ready_for_review"
	PullRequestEventReadyForReviewAction = "ready_for_review"

	// PullRequestEventReopenedAction is used to identify callbacks
	// listening to events of type github.PullRequestEvent and action "reopened"
	PullRequestEventReopenedAction = "reopened"

	// PullRequestEventReviewRequestRemovedAction is used to identify callbacks
	// listening to events of type github.PullRequestEvent and action "review_request_removed"
	PullRequestEventReviewRequestRemovedAction = "review_request_removed"

	// PullRequestEventReviewRequestedAction is used to identify callbacks
	// listening to events of type github.PullRequestEvent and action "review_requested"
	PullRequestEventReviewRequestedAction = "review_requested"

	// PullRequestEventSynchronizeAction is used to identify callbacks
	// listening to events of type github.PullRequestEvent and action "synchronize"
	PullRequestEventSynchronizeAction = "synchronize"

	// PullRequestEventUnassignedAction is used to identify callbacks
	// listening to events of type github.PullRequestEvent and action "unassigned"
	PullRequestEventUnassignedAction = "unassigned"

	// PullRequestEventUnlabeledAction is used to identify callbacks
	// listening to events of type github.PullRequestEvent and action "unlabeled"
	PullRequestEventUnlabeledAction = "unlabeled"

	// PullRequestEventUnlockedAction is used to identify callbacks
	// listening to events of type github.PullRequestEvent and action "unlocked"
	PullRequestEventUnlockedAction = "unlocked"
)

Actions are used to identify registered callbacks.

View Source
const (
	// PullRequestReviewEvent is the event name of github.PullRequestReviewEvent's
	PullRequestReviewEvent = "pull_request_review"

	// PullRequestReviewEventAnyAction is used to identify callbacks
	// listening to all events of type github.PullRequestReviewEvent
	PullRequestReviewEventAnyAction = "*"

	// PullRequestReviewEventSubmittedAction is used to identify callbacks
	// listening to events of type github.PullRequestReviewEvent and action "submitted"
	PullRequestReviewEventSubmittedAction = "submitted"

	// PullRequestReviewEventEditedAction is used to identify callbacks
	// listening to events of type github.PullRequestReviewEvent and action "edited"
	PullRequestReviewEventEditedAction = "edited"

	// PullRequestReviewEventDismissedAction is used to identify callbacks
	// listening to events of type github.PullRequestReviewEvent and action "dismissed"
	PullRequestReviewEventDismissedAction = "dismissed"
)

Actions are used to identify registered callbacks.

View Source
const (
	// PullRequestReviewCommentEvent is the event name of github.PullRequestReviewCommentEvent's
	PullRequestReviewCommentEvent = "pull_request_review_comment"

	// PullRequestReviewCommentEventAnyAction is used to identify callbacks
	// listening to all events of type github.PullRequestReviewCommentEvent
	PullRequestReviewCommentEventAnyAction = "*"

	// PullRequestReviewCommentEventCreatedAction is used to identify callbacks
	// listening to events of type github.PullRequestReviewCommentEvent and action "created"
	PullRequestReviewCommentEventCreatedAction = "created"

	// PullRequestReviewCommentEventEditedAction is used to identify callbacks
	// listening to events of type github.PullRequestReviewCommentEvent and action "edited"
	PullRequestReviewCommentEventEditedAction = "edited"

	// PullRequestReviewCommentEventDeletedAction is used to identify callbacks
	// listening to events of type github.PullRequestReviewCommentEvent and action "deleted"
	PullRequestReviewCommentEventDeletedAction = "deleted"
)

Actions are used to identify registered callbacks.

View Source
const (
	// PushEvent is the event name of github.PushEvent's
	PushEvent = "push"

	// PushEventAnyAction is used to identify callbacks
	// listening to all events of type github.PushEvent
	PushEventAnyAction = "*"
)

Actions are used to identify registered callbacks.

View Source
const (
	// ReleaseEvent is the event name of github.ReleaseEvent's
	ReleaseEvent = "release"

	// ReleaseEventAnyAction is used to identify callbacks
	// listening to all events of type github.ReleaseEvent
	ReleaseEventAnyAction = "*"

	// ReleaseEventPublishedAction is used to identify callbacks
	// listening to events of type github.ReleaseEvent and action "published"
	ReleaseEventPublishedAction = "published"

	// ReleaseEventUnpublishedAction is used to identify callbacks
	// listening to events of type github.ReleaseEvent and action "unpublished"
	ReleaseEventUnpublishedAction = "unpublished"

	// ReleaseEventCreatedAction is used to identify callbacks
	// listening to events of type github.ReleaseEvent and action "created"
	ReleaseEventCreatedAction = "created"

	// ReleaseEventEditedAction is used to identify callbacks
	// listening to events of type github.ReleaseEvent and action "edited"
	ReleaseEventEditedAction = "edited"

	// ReleaseEventDeletedAction is used to identify callbacks
	// listening to events of type github.ReleaseEvent and action "deleted"
	ReleaseEventDeletedAction = "deleted"

	// ReleaseEventPreReleasedAction is used to identify callbacks
	// listening to events of type github.ReleaseEvent and action "prereleased"
	ReleaseEventPreReleasedAction = "prereleased"

	// ReleaseEventReleasedAction is used to identify callbacks
	// listening to events of type github.ReleaseEvent and action "released"
	ReleaseEventReleasedAction = "released"
)

Actions are used to identify registered callbacks.

View Source
const (
	// RepositoryEvent is the event name of github.RepositoryEvent's
	RepositoryEvent = "repository"

	// RepositoryEventAnyAction is used to identify callbacks
	// listening to all events of type github.RepositoryEvent
	RepositoryEventAnyAction = "*"

	// RepositoryEventCreatedAction is used to identify callbacks
	// listening to events of type github.RepositoryEvent and action "created"
	RepositoryEventCreatedAction = "created"

	// RepositoryEventDeletedAction is used to identify callbacks
	// listening to events of type github.RepositoryEvent and action "deleted"
	RepositoryEventDeletedAction = "deleted"

	// RepositoryEventArchivedAction is used to identify callbacks
	// listening to events of type github.RepositoryEvent and action "archived"
	RepositoryEventArchivedAction = "archived"

	// RepositoryEventUnarchivedAction is used to identify callbacks
	// listening to events of type github.RepositoryEvent and action "unarchived"
	RepositoryEventUnarchivedAction = "unarchived"

	// RepositoryEventEditedAction is used to identify callbacks
	// listening to events of type github.RepositoryEvent and action "edited"
	RepositoryEventEditedAction = "edited"

	// RepositoryEventRenamedAction is used to identify callbacks
	// listening to events of type github.RepositoryEvent and action "renamed"
	RepositoryEventRenamedAction = "renamed"

	// RepositoryEventTransferredAction is used to identify callbacks
	// listening to events of type github.RepositoryEvent and action "transferred"
	RepositoryEventTransferredAction = "transferred"

	// RepositoryEventPublicizedAction is used to identify callbacks
	// listening to events of type github.RepositoryEvent and action "publicized"
	RepositoryEventPublicizedAction = "publicized"

	// RepositoryEventPrivatizedAction is used to identify callbacks
	// listening to events of type github.RepositoryEvent and action "privatized"
	RepositoryEventPrivatizedAction = "privatized"
)

Actions are used to identify registered callbacks.

View Source
const (
	// RepositoryDispatchEvent is the event name of github.RepositoryDispatchEvent's
	RepositoryDispatchEvent = "repository_dispatch"

	// RepositoryDispatchEventAnyAction is used to identify callbacks
	// listening to all events of type github.RepositoryDispatchEvent
	RepositoryDispatchEventAnyAction = "*"
)

Actions are used to identify registered callbacks.

View Source
const (
	// RepositoryVulnerabilityAlertEvent is the event name of github.RepositoryVulnerabilityAlertEvent's
	RepositoryVulnerabilityAlertEvent = "repository_vulnerability_alert"

	// RepositoryVulnerabilityAlertEventAnyAction is used to identify callbacks
	// listening to all events of type github.RepositoryVulnerabilityAlertEvent
	RepositoryVulnerabilityAlertEventAnyAction = "*"

	// RepositoryVulnerabilityAlertEventCreateAction is used to identify callbacks
	// listening to events of type github.RepositoryVulnerabilityAlertEvent and action "create"
	RepositoryVulnerabilityAlertEventCreateAction = "create"

	// RepositoryVulnerabilityAlertEventDismissAction is used to identify callbacks
	// listening to events of type github.RepositoryVulnerabilityAlertEvent and action "dismiss"
	RepositoryVulnerabilityAlertEventDismissAction = "dismiss"

	// RepositoryVulnerabilityAlertEventResolveAction is used to identify callbacks
	// listening to events of type github.RepositoryVulnerabilityAlertEvent and action "resolve"
	RepositoryVulnerabilityAlertEventResolveAction = "resolve"
)

Actions are used to identify registered callbacks.

View Source
const (
	// StarEvent is the event name of github.StarEvent's
	StarEvent = "star"

	// StarEventAnyAction is used to identify callbacks
	// listening to all events of type github.StarEvent
	StarEventAnyAction = "*"

	// StarEventCreatedAction is used to identify callbacks
	// listening to events of type github.StarEvent and action "created"
	StarEventCreatedAction = "created"

	// StarEventDeletedAction is used to identify callbacks
	// listening to events of type github.StarEvent and action "deleted"
	StarEventDeletedAction = "deleted"
)

Actions are used to identify registered callbacks.

View Source
const (
	// StatusEvent is the event name of github.StatusEvent's
	StatusEvent = "status"

	// StatusEventAnyAction is used to identify callbacks
	// listening to all events of type github.StatusEvent
	StatusEventAnyAction = "*"
)

Actions are used to identify registered callbacks.

View Source
const (
	// TeamEvent is the event name of github.TeamEvent's
	TeamEvent = "team"

	// TeamEventAnyAction is used to identify callbacks
	// listening to all events of type github.TeamEvent
	TeamEventAnyAction = "*"

	// TeamEventCreatedAction is used to identify callbacks
	// listening to events of type github.TeamEvent and action "created"
	TeamEventCreatedAction = "created"

	// TeamEventDeletedAction is used to identify callbacks
	// listening to events of type github.TeamEvent and action "deleted"
	TeamEventDeletedAction = "deleted"

	// TeamEventEditedAction is used to identify callbacks
	// listening to events of type github.TeamEvent and action "edited"
	TeamEventEditedAction = "edited"

	// TeamEventAddedToRepositoryAction is used to identify callbacks
	// listening to events of type github.TeamEvent and action "added_to_repository"
	TeamEventAddedToRepositoryAction = "added_to_repository"

	// TeamEventRemovedFromRepositoryAction is used to identify callbacks
	// listening to events of type github.TeamEvent and action "removed_from_repository"
	TeamEventRemovedFromRepositoryAction = "removed_from_repository"
)

Actions are used to identify registered callbacks.

View Source
const (
	// TeamAddEvent is the event name of github.TeamAddEvent's
	TeamAddEvent = "team_add"

	// TeamAddEventAnyAction is used to identify callbacks
	// listening to all events of type github.TeamAddEvent
	TeamAddEventAnyAction = "*"
)

Actions are used to identify registered callbacks.

View Source
const (
	// WatchEvent is the event name of github.WatchEvent's
	WatchEvent = "watch"

	// WatchEventAnyAction is used to identify callbacks
	// listening to all events of type github.WatchEvent
	WatchEventAnyAction = "*"
)

Actions are used to identify registered callbacks.

View Source
const (
	// WorkflowDispatchEvent is the event name of github.WorkflowDispatchEvent's
	WorkflowDispatchEvent = "workflow_dispatch"

	// WorkflowDispatchEventAnyAction is used to identify callbacks
	// listening to all events of type github.WorkflowDispatchEvent
	WorkflowDispatchEventAnyAction = "*"
)

Actions are used to identify registered callbacks.

View Source
const (
	// WorkflowJobEvent is the event name of github.WorkflowJobEvent's
	WorkflowJobEvent = "workflow_job"

	// WorkflowJobEventAnyAction is used to identify callbacks
	// listening to all events of type github.WorkflowJobEvent
	WorkflowJobEventAnyAction = "*"

	// WorkflowJobEventQueuedAction is used to identify callbacks
	// listening to events of type github.WorkflowJobEvent and action "queued"
	WorkflowJobEventQueuedAction = "queued"

	// WorkflowJobEventInProgressAction is used to identify callbacks
	// listening to events of type github.WorkflowJobEvent and action "in_progress"
	WorkflowJobEventInProgressAction = "in_progress"

	// WorkflowJobEventCompletedAction is used to identify callbacks
	// listening to events of type github.WorkflowJobEvent and action "completed"
	WorkflowJobEventCompletedAction = "completed"
)

Actions are used to identify registered callbacks.

View Source
const (
	// WorkflowRunEvent is the event name of github.WorkflowRunEvent's
	WorkflowRunEvent = "workflow_run"

	// WorkflowRunEventAnyAction is used to identify callbacks
	// listening to all events of type github.WorkflowRunEvent
	WorkflowRunEventAnyAction = "*"

	// WorkflowRunEventRequestedAction is used to identify callbacks
	// listening to events of type github.WorkflowRunEvent and action "requested"
	WorkflowRunEventRequestedAction = "requested"

	// WorkflowRunEventCompletedAction is used to identify callbacks
	// listening to events of type github.WorkflowRunEvent and action "completed"
	WorkflowRunEventCompletedAction = "completed"
)

Actions are used to identify registered callbacks.

View Source
const (
	// EventAnyAction is used to identify callbacks listening to all events.
	EventAnyAction = "*"
)

Actions are used to identify registered callbacks.

Variables

This section is empty.

Functions

This section is empty.

Types

type BranchProtectionRuleEventHandleFunc

type BranchProtectionRuleEventHandleFunc func(deliveryID string, eventName string, event *github.BranchProtectionRuleEvent) error

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

type CheckRunEventHandleFunc func(deliveryID string, eventName string, event *github.CheckRunEvent) error

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

type CheckSuiteEventHandleFunc func(deliveryID string, eventName string, event *github.CheckSuiteEvent) error

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

type CommitCommentEventHandleFunc func(deliveryID string, eventName string, event *github.CommitCommentEvent) error

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

type CreateEventHandleFunc func(deliveryID string, eventName string, event *github.CreateEvent) error

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

type DeleteEventHandleFunc func(deliveryID string, eventName string, event *github.DeleteEvent) error

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

type DeployKeyEventHandleFunc func(deliveryID string, eventName string, event *github.DeployKeyEvent) error

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

type DeploymentEventHandleFunc func(deliveryID string, eventName string, event *github.DeploymentEvent) error

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

type DeploymentStatusEventHandleFunc func(deliveryID string, eventName string, event *github.DeploymentStatusEvent) error

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

type DiscussionEventHandleFunc func(deliveryID string, eventName string, event *github.DiscussionEvent) error

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

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

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 is the GitHub Webhook secret token.
	WebhookSecret string
	// contains filtered or unexported fields
}

EventHandler represents a Github webhook handler.

func New

func New(webhookSecret string) *EventHandler

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

func (g *EventHandler) BranchProtectionRuleEvent(deliveryID string, eventName string, event *github.BranchProtectionRuleEvent) error

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

func (g *EventHandler) CheckRunEvent(deliveryID string, eventName string, event *github.CheckRunEvent) error

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

func (g *EventHandler) CheckSuiteEvent(deliveryID string, eventName string, event *github.CheckSuiteEvent) error

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

func (g *EventHandler) CommitCommentEvent(deliveryID string, eventName string, event *github.CommitCommentEvent) error

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

func (g *EventHandler) CreateEvent(deliveryID string, eventName string, event *github.CreateEvent) error

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

func (g *EventHandler) DeleteEvent(deliveryID string, eventName string, event *github.DeleteEvent) error

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

func (g *EventHandler) DeployKeyEvent(deliveryID string, eventName string, event *github.DeployKeyEvent) error

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

func (g *EventHandler) DeploymentEvent(deliveryID string, eventName string, event *github.DeploymentEvent) error

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

func (g *EventHandler) DeploymentStatusEvent(deliveryID string, eventName string, event *github.DeploymentStatusEvent) error

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

func (g *EventHandler) DiscussionEvent(deliveryID string, eventName string, event *github.DiscussionEvent) error

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

func (g *EventHandler) ForkEvent(deliveryID string, eventName string, event *github.ForkEvent) error

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

func (g *EventHandler) GitHubAppAuthorizationEvent(deliveryID string, eventName string, event *github.GitHubAppAuthorizationEvent) error

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

func (g *EventHandler) GollumEvent(deliveryID string, eventName string, event *github.GollumEvent) error

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

func (g *EventHandler) HandleEventRequest(req *http.Request) error

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

func (*EventHandler) InstallationEvent

func (g *EventHandler) InstallationEvent(deliveryID string, eventName string, event *github.InstallationEvent) error

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

func (g *EventHandler) InstallationRepositoriesEvent(deliveryID string, eventName string, event *github.InstallationRepositoriesEvent) error

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

func (g *EventHandler) IssueCommentEvent(deliveryID string, eventName string, event *github.IssueCommentEvent) error

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

func (g *EventHandler) IssuesEvent(deliveryID string, eventName string, event *github.IssuesEvent) error

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

func (g *EventHandler) LabelEvent(deliveryID string, eventName string, event *github.LabelEvent) error

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

func (g *EventHandler) MarketplacePurchaseEvent(deliveryID string, eventName string, event *github.MarketplacePurchaseEvent) error

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

func (g *EventHandler) MemberEvent(deliveryID string, eventName string, event *github.MemberEvent) error

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

func (g *EventHandler) MembershipEvent(deliveryID string, eventName string, event *github.MembershipEvent) error

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

func (g *EventHandler) MetaEvent(deliveryID string, eventName string, event *github.MetaEvent) error

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

func (g *EventHandler) MilestoneEvent(deliveryID string, eventName string, event *github.MilestoneEvent) error

MilestoneEvent handles github.MilestoneEvent.

Callbacks are executed in the following order:

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

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

func (*EventHandler) OnAfterAny

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

OnAfterAny registers callbacks which are triggered after any event.

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

func (*EventHandler) OnBeforeAny

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

OnBeforeAny registers callbacks which are triggered before any event.

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

func (*EventHandler) OnBranchProtectionRuleEventAny

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

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

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

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

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

func (*EventHandler) OnBranchProtectionRuleEventCreated

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

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

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

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

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

func (*EventHandler) OnBranchProtectionRuleEventDeleted

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

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

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

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

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

func (*EventHandler) OnBranchProtectionRuleEventEdited

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

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

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

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

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

func (*EventHandler) OnCheckRunEventAny

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

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

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

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

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

func (*EventHandler) OnCheckRunEventCompleted

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

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

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

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

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

func (*EventHandler) OnCheckRunEventCreated

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

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

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

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

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

func (*EventHandler) OnCheckRunEventReRequested

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

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

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

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

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

func (*EventHandler) OnCheckRunEventRequestAction

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

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

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

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

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

func (*EventHandler) OnCheckSuiteEventAny

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

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

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

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

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

func (*EventHandler) OnCheckSuiteEventCompleted

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

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

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

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

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

func (*EventHandler) OnCheckSuiteEventReRequested

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

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

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

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

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

func (*EventHandler) OnCheckSuiteEventRequested

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

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

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

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

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

func (*EventHandler) OnCommitCommentEventAny

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

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

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

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

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

func (*EventHandler) OnCommitCommentEventCreated

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

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

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

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

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

func (*EventHandler) OnCreateEventAny

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

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

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

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

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

func (*EventHandler) OnDeleteEventAny

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

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

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

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

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

func (*EventHandler) OnDeployKeyEventAny

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

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

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

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

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

func (*EventHandler) OnDeployKeyEventCreated

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

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

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

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

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

func (*EventHandler) OnDeployKeyEventDeleted

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

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

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

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

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

func (*EventHandler) OnDeploymentEventAny

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

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

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

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

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

func (*EventHandler) OnDeploymentStatusEventAny

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

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

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

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

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

func (*EventHandler) OnDiscussionEventAnswered

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

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

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

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

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

func (*EventHandler) OnDiscussionEventAny

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

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

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

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

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

func (*EventHandler) OnDiscussionEventCategoryChanged

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

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

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

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

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

func (*EventHandler) OnDiscussionEventCreated

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

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

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

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

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

func (*EventHandler) OnDiscussionEventDeleted

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

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

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

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

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

func (*EventHandler) OnDiscussionEventEdited

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

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

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

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

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

func (*EventHandler) OnDiscussionEventLabeled

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

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

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

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

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

func (*EventHandler) OnDiscussionEventLocked

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

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

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

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

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

func (*EventHandler) OnDiscussionEventPinned

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

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

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

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

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

func (*EventHandler) OnDiscussionEventTransferred

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

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

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

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

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

func (*EventHandler) OnDiscussionEventUnanswered

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

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

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

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

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

func (*EventHandler) OnDiscussionEventUnlabeled

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

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

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

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

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

func (*EventHandler) OnDiscussionEventUnlocked

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

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

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

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

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

func (*EventHandler) OnDiscussionEventUnpinned

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

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

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

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

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

func (*EventHandler) OnError

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

OnError registers callbacks which are triggered whenever an error occurs.

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

func (*EventHandler) OnForkEventAny

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

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

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

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

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

func (*EventHandler) OnGitHubAppAuthorizationEventAny

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

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

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

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

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

func (*EventHandler) OnGitHubAppAuthorizationEventRevoked

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

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

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

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

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

func (*EventHandler) OnGollumEventAny

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

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

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

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

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

func (*EventHandler) OnInstallationEventAny

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

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

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

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

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

func (*EventHandler) OnInstallationEventCreated

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

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

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

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

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

func (*EventHandler) OnInstallationEventDeleted

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

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

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

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

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

func (*EventHandler) OnInstallationEventEventSuspend

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

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

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

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

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

func (*EventHandler) OnInstallationEventEventUnsuspend

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

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

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

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

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

func (*EventHandler) OnInstallationEventNewPermissionsAccepted

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

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

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

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

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

func (*EventHandler) OnInstallationRepositoriesEventAdded

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

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

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

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

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

func (*EventHandler) OnInstallationRepositoriesEventAny

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

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

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

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

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

func (*EventHandler) OnInstallationRepositoriesEventRemoved

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

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

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

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

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

func (*EventHandler) OnIssueCommentCreated

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

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

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

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

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

func (*EventHandler) OnIssueCommentDeleted

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

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

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

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

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

func (*EventHandler) OnIssueCommentEdited

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

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

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

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

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

func (*EventHandler) OnIssueCommentEventAny

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

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

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

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

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

func (*EventHandler) OnIssuesEventAny

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

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

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

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

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

func (*EventHandler) OnIssuesEventAssigned

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

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

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

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

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

func (*EventHandler) OnIssuesEventClosed

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

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

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

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

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

func (*EventHandler) OnIssuesEventDeMilestoned

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

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

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

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

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

func (*EventHandler) OnIssuesEventDeleted

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

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

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

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

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

func (*EventHandler) OnIssuesEventEdited

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

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

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

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

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

func (*EventHandler) OnIssuesEventLabeled

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

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

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

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

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

func (*EventHandler) OnIssuesEventLocked

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

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

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

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

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

func (*EventHandler) OnIssuesEventMilestoned

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

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

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

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

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

func (*EventHandler) OnIssuesEventOpened

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

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

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

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

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

func (*EventHandler) OnIssuesEventPinned

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

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

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

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

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

func (*EventHandler) OnIssuesEventReopened

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

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

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

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

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

func (*EventHandler) OnIssuesEventTransferred

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

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

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

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

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

func (*EventHandler) OnIssuesEventUnassigned

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

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

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

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

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

func (*EventHandler) OnIssuesEventUnlabeled

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

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

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

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

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

func (*EventHandler) OnIssuesEventUnlocked

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

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

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

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

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

func (*EventHandler) OnIssuesEventUnpinned

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

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

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

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

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

func (*EventHandler) OnLabelEventAny

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

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

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

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

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

func (*EventHandler) OnLabelEventCreated

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

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

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

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

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

func (*EventHandler) OnLabelEventDeleted

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

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

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

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

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

func (*EventHandler) OnLabelEventEdited

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

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

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

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

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

func (*EventHandler) OnMarketplacePurchaseEventAny

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

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

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

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

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

func (*EventHandler) OnMarketplacePurchaseEventCancelled

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

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

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

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

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

func (*EventHandler) OnMarketplacePurchaseEventChanged

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

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

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

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

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

func (*EventHandler) OnMarketplacePurchaseEventPendingChange

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

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

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

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

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

func (*EventHandler) OnMarketplacePurchaseEventPendingChangeCancelled

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

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

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

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

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

func (*EventHandler) OnMarketplacePurchaseEventPurchased

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

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

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

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

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

func (*EventHandler) OnMemberEventAdded

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

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

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

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

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

func (*EventHandler) OnMemberEventAny

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

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

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

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

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

func (*EventHandler) OnMemberEventEdited

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

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

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

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

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

func (*EventHandler) OnMemberEventRemoved

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

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

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

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

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

func (*EventHandler) OnMembershipEventAdded

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

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

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

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

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

func (*EventHandler) OnMembershipEventAny

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

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

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

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

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

func (*EventHandler) OnMembershipEventRemoved

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

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

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

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

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

func (*EventHandler) OnMetaEventAny

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

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

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

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

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

func (*EventHandler) OnMilestoneEventAny

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

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

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

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

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

func (*EventHandler) OnMilestoneEventClosed

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

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

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

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

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

func (*EventHandler) OnMilestoneEventCreated

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

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

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

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

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

func (*EventHandler) OnMilestoneEventDeleted

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

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

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

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

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

func (*EventHandler) OnMilestoneEventEdited

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

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

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

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

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

func (*EventHandler) OnMilestoneEventOpened

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

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

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

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

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

func (*EventHandler) OnOrgBlockEventAny

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

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

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

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

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

func (*EventHandler) OnOrgBlockEventBlocked

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

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

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

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

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

func (*EventHandler) OnOrgBlockEventUnblocked

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

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

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

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

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

func (*EventHandler) OnOrganizationEventAny

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

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

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

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

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

func (*EventHandler) OnOrganizationEventDeleted

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

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

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

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

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

func (*EventHandler) OnOrganizationEventMemberAdded

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

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

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

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

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

func (*EventHandler) OnOrganizationEventMemberInvited

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

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

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

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

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

func (*EventHandler) OnOrganizationEventMemberRemoved

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

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

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

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

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

func (*EventHandler) OnOrganizationEventRenamed

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

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

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

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

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

func (*EventHandler) OnPackageEventAny

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

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

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

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

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

func (*EventHandler) OnPackageEventPublished

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

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

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

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

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

func (*EventHandler) OnPackageEventUpdated

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

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

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

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

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

func (*EventHandler) OnPageBuildEventAny

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

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

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

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

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

func (*EventHandler) OnPingEventAny

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

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

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

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

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

func (*EventHandler) OnProjectCardEventAny

func (g *EventHandler) OnProjectCardEventAny(callbacks ...ProjectCardEventHandleFunc)

OnProjectCardEventAny registers callbacks listening to any events of type github.ProjectCardEvent

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

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been 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_card

func (*EventHandler) OnProjectCardEventConverted

func (g *EventHandler) OnProjectCardEventConverted(callbacks ...ProjectCardEventHandleFunc)

OnProjectCardEventConverted registers callbacks listening to events of type github.ProjectCardEvent and action 'converted'.

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

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been 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_card

func (*EventHandler) OnProjectCardEventCreated

func (g *EventHandler) OnProjectCardEventCreated(callbacks ...ProjectCardEventHandleFunc)

OnProjectCardEventCreated registers callbacks listening to events of type github.ProjectCardEvent and action 'created'.

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

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been 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_card

func (*EventHandler) OnProjectCardEventDeleted

func (g *EventHandler) OnProjectCardEventDeleted(callbacks ...ProjectCardEventHandleFunc)

OnProjectCardEventDeleted registers callbacks listening to events of type github.ProjectCardEvent and action 'deleted'.

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

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been 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_card

func (*EventHandler) OnProjectCardEventEdited

func (g *EventHandler) OnProjectCardEventEdited(callbacks ...ProjectCardEventHandleFunc)

OnProjectCardEventEdited registers callbacks listening to events of type github.ProjectCardEvent and action 'edited'.

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

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been 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_card

func (*EventHandler) OnProjectCardEventMoved

func (g *EventHandler) OnProjectCardEventMoved(callbacks ...ProjectCardEventHandleFunc)

OnProjectCardEventMoved registers callbacks listening to events of type github.ProjectCardEvent and action 'moved'.

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

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been 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_card

func (*EventHandler) OnProjectColumnEventAny

func (g *EventHandler) OnProjectColumnEventAny(callbacks ...ProjectColumnEventHandleFunc)

OnProjectColumnEventAny registers callbacks listening to any events of type github.ProjectColumnEvent

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

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been 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_column

func (*EventHandler) OnProjectColumnEventCreated

func (g *EventHandler) OnProjectColumnEventCreated(callbacks ...ProjectColumnEventHandleFunc)

OnProjectColumnEventCreated registers callbacks listening to events of type github.ProjectColumnEvent and action 'created'.

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

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been 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_column

func (*EventHandler) OnProjectColumnEventDeleted

func (g *EventHandler) OnProjectColumnEventDeleted(callbacks ...ProjectColumnEventHandleFunc)

OnProjectColumnEventDeleted registers callbacks listening to events of type github.ProjectColumnEvent and action 'deleted'.

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

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been 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_column

func (*EventHandler) OnProjectColumnEventEdited

func (g *EventHandler) OnProjectColumnEventEdited(callbacks ...ProjectColumnEventHandleFunc)

OnProjectColumnEventEdited registers callbacks listening to events of type github.ProjectColumnEvent and action 'edited'.

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

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been 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_column

func (*EventHandler) OnProjectColumnEventMoved

func (g *EventHandler) OnProjectColumnEventMoved(callbacks ...ProjectColumnEventHandleFunc)

OnProjectColumnEventMoved registers callbacks listening to events of type github.ProjectColumnEvent and action 'moved'.

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

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been 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_column

func (*EventHandler) OnProjectEventAny

func (g *EventHandler) OnProjectEventAny(callbacks ...ProjectEventHandleFunc)

OnProjectEventAny registers callbacks listening to any events of type github.ProjectEvent

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

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been 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

func (*EventHandler) OnProjectEventClosed

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

OnProjectEventClosed registers callbacks listening to events of type github.ProjectEvent 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

func (*EventHandler) OnProjectEventCreated

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

OnProjectEventCreated registers callbacks listening to events of type github.ProjectEvent 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

func (*EventHandler) OnProjectEventDeleted

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

OnProjectEventDeleted registers callbacks listening to events of type github.ProjectEvent 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

func (*EventHandler) OnProjectEventEdited

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

OnProjectEventEdited registers callbacks listening to events of type github.ProjectEvent 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

func (*EventHandler) OnProjectEventReopened

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

OnProjectEventReopened registers callbacks listening to events of type github.ProjectEvent 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

func (*EventHandler) OnPublicEventAny

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

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

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

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

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

func (*EventHandler) OnPullRequestEventAny

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

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

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

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

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

func (*EventHandler) OnPullRequestEventAssigned

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

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

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

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

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

func (*EventHandler) OnPullRequestEventAutoMergeDisabled

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

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

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

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

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

func (*EventHandler) OnPullRequestEventAutoMergeEnabled

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

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

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

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

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

func (*EventHandler) OnPullRequestEventClosed

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

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

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

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

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

func (*EventHandler) OnPullRequestEventConvertedToDraft

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

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

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

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

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

func (*EventHandler) OnPullRequestEventEdited

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

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

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

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

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

func (*EventHandler) OnPullRequestEventLabeled

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

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

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

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

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

func (*EventHandler) OnPullRequestEventLocked

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

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

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

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

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

func (*EventHandler) OnPullRequestEventOpened

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

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

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

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

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

func (*EventHandler) OnPullRequestEventReadyForReview

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

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

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

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

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

func (*EventHandler) OnPullRequestEventReopened

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

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

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

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

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

func (*EventHandler) OnPullRequestEventReviewRequestRemoved

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

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

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

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

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

func (*EventHandler) OnPullRequestEventReviewRequested

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

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

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

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

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

func (*EventHandler) OnPullRequestEventSynchronize

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

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

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

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

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

func (*EventHandler) OnPullRequestEventUnassigned

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

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

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

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

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

func (*EventHandler) OnPullRequestEventUnlabeled

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

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

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

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

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

func (*EventHandler) OnPullRequestEventUnlocked

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

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

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

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

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

func (*EventHandler) OnPullRequestReviewCommentEventAny

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

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

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

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

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

func (*EventHandler) OnPullRequestReviewCommentEventCreated

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

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

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

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

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

func (*EventHandler) OnPullRequestReviewCommentEventDeleted

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

OnPullRequestReviewCommentEventDeleted registers callbacks listening to events of type github.PullRequestReviewCommentEvent and action 'deleted'.

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

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

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

func (*EventHandler) OnPullRequestReviewCommentEventEdited

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

OnPullRequestReviewCommentEventEdited registers callbacks listening to events of type github.PullRequestReviewCommentEvent and action 'edited'.

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

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

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

func (*EventHandler) OnPullRequestReviewEventAny

func (g *EventHandler) OnPullRequestReviewEventAny(callbacks ...PullRequestReviewEventHandleFunc)

OnPullRequestReviewEventAny registers callbacks listening to any events of type github.PullRequestReviewEvent

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

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

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

func (*EventHandler) OnPullRequestReviewEventDismissed

func (g *EventHandler) OnPullRequestReviewEventDismissed(callbacks ...PullRequestReviewEventHandleFunc)

OnPullRequestReviewEventDismissed registers callbacks listening to events of type github.PullRequestReviewEvent and action 'dismissed'.

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

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

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

func (*EventHandler) OnPullRequestReviewEventEdited

func (g *EventHandler) OnPullRequestReviewEventEdited(callbacks ...PullRequestReviewEventHandleFunc)

OnPullRequestReviewEventEdited registers callbacks listening to events of type github.PullRequestReviewEvent and action 'edited'.

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

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

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

func (*EventHandler) OnPullRequestReviewEventSubmitted

func (g *EventHandler) OnPullRequestReviewEventSubmitted(callbacks ...PullRequestReviewEventHandleFunc)

OnPullRequestReviewEventSubmitted registers callbacks listening to events of type github.PullRequestReviewEvent and action 'submitted'.

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

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

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

func (*EventHandler) OnPushEventAny

func (g *EventHandler) OnPushEventAny(callbacks ...PushEventHandleFunc)

OnPushEventAny registers callbacks listening to any events of type github.PushEvent

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

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

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

func (*EventHandler) OnReleaseEventAny

func (g *EventHandler) OnReleaseEventAny(callbacks ...ReleaseEventHandleFunc)

OnReleaseEventAny registers callbacks listening to any events of type github.ReleaseEvent

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

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

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

func (*EventHandler) OnReleaseEventCreated

func (g *EventHandler) OnReleaseEventCreated(callbacks ...ReleaseEventHandleFunc)

OnReleaseEventCreated registers callbacks listening to events of type github.ReleaseEvent and action 'created'.

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

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

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

func (*EventHandler) OnReleaseEventDeleted

func (g *EventHandler) OnReleaseEventDeleted(callbacks ...ReleaseEventHandleFunc)

OnReleaseEventDeleted registers callbacks listening to events of type github.ReleaseEvent and action 'deleted'.

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

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

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

func (*EventHandler) OnReleaseEventEdited

func (g *EventHandler) OnReleaseEventEdited(callbacks ...ReleaseEventHandleFunc)

OnReleaseEventEdited registers callbacks listening to events of type github.ReleaseEvent and action 'edited'.

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

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

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

func (*EventHandler) OnReleaseEventPreReleased

func (g *EventHandler) OnReleaseEventPreReleased(callbacks ...ReleaseEventHandleFunc)

OnReleaseEventPreReleased registers callbacks listening to events of type github.ReleaseEvent and action 'prereleased'.

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

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

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

func (*EventHandler) OnReleaseEventPublished

func (g *EventHandler) OnReleaseEventPublished(callbacks ...ReleaseEventHandleFunc)

OnReleaseEventPublished registers callbacks listening to events of type github.ReleaseEvent and action 'published'.

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

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

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

func (*EventHandler) OnReleaseEventReleased

func (g *EventHandler) OnReleaseEventReleased(callbacks ...ReleaseEventHandleFunc)

OnReleaseEventReleased registers callbacks listening to events of type github.ReleaseEvent and action 'released'.

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

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

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

func (*EventHandler) OnReleaseEventUnpublished

func (g *EventHandler) OnReleaseEventUnpublished(callbacks ...ReleaseEventHandleFunc)

OnReleaseEventUnpublished registers callbacks listening to events of type github.ReleaseEvent and action 'unpublished'.

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

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

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

func (*EventHandler) OnRepositoryDispatchEventAny

func (g *EventHandler) OnRepositoryDispatchEventAny(callbacks ...RepositoryDispatchEventHandleFunc)

OnRepositoryDispatchEventAny registers callbacks listening to any events of type github.RepositoryDispatchEvent

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

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

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

func (*EventHandler) OnRepositoryEventAny

func (g *EventHandler) OnRepositoryEventAny(callbacks ...RepositoryEventHandleFunc)

OnRepositoryEventAny registers callbacks listening to any events of type github.RepositoryEvent

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

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

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

func (*EventHandler) OnRepositoryEventArchived

func (g *EventHandler) OnRepositoryEventArchived(callbacks ...RepositoryEventHandleFunc)

OnRepositoryEventArchived registers callbacks listening to events of type github.RepositoryEvent and action 'archived'.

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

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

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

func (*EventHandler) OnRepositoryEventCreated added in v1.1.1

func (g *EventHandler) OnRepositoryEventCreated(callbacks ...RepositoryEventHandleFunc)

OnRepositoryEventCreated registers callbacks listening to events of type github.RepositoryEvent and action 'created'.

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

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

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

func (*EventHandler) OnRepositoryEventDeleted

func (g *EventHandler) OnRepositoryEventDeleted(callbacks ...RepositoryEventHandleFunc)

OnRepositoryEventDeleted registers callbacks listening to events of type github.RepositoryEvent and action 'deleted'.

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

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

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

func (*EventHandler) OnRepositoryEventEdited

func (g *EventHandler) OnRepositoryEventEdited(callbacks ...RepositoryEventHandleFunc)

OnRepositoryEventEdited registers callbacks listening to events of type github.RepositoryEvent and action 'edited'.

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

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

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

func (*EventHandler) OnRepositoryEventPrivatized

func (g *EventHandler) OnRepositoryEventPrivatized(callbacks ...RepositoryEventHandleFunc)

OnRepositoryEventPrivatized registers callbacks listening to events of type github.RepositoryEvent and action 'privatized'.

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

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

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

func (*EventHandler) OnRepositoryEventPublicized

func (g *EventHandler) OnRepositoryEventPublicized(callbacks ...RepositoryEventHandleFunc)

OnRepositoryEventPublicized registers callbacks listening to events of type github.RepositoryEvent and action 'publicized'.

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

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

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

func (*EventHandler) OnRepositoryEventRenamed

func (g *EventHandler) OnRepositoryEventRenamed(callbacks ...RepositoryEventHandleFunc)

OnRepositoryEventRenamed registers callbacks listening to events of type github.RepositoryEvent and action 'renamed'.

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

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

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

func (*EventHandler) OnRepositoryEventTransferred

func (g *EventHandler) OnRepositoryEventTransferred(callbacks ...RepositoryEventHandleFunc)

OnRepositoryEventTransferred registers callbacks listening to events of type github.RepositoryEvent and action 'transferred'.

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

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

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

func (*EventHandler) OnRepositoryEventUnarchived

func (g *EventHandler) OnRepositoryEventUnarchived(callbacks ...RepositoryEventHandleFunc)

OnRepositoryEventUnarchived registers callbacks listening to events of type github.RepositoryEvent and action 'unarchived'.

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

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

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

func (*EventHandler) OnRepositoryVulnerabilityAlertEventAny

func (g *EventHandler) OnRepositoryVulnerabilityAlertEventAny(callbacks ...RepositoryVulnerabilityAlertEventHandleFunc)

OnRepositoryVulnerabilityAlertEventAny registers callbacks listening to any events of type github.RepositoryVulnerabilityAlertEvent

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

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

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

func (*EventHandler) OnRepositoryVulnerabilityAlertEventCreate

func (g *EventHandler) OnRepositoryVulnerabilityAlertEventCreate(callbacks ...RepositoryVulnerabilityAlertEventHandleFunc)

OnRepositoryVulnerabilityAlertEventCreate registers callbacks listening to events of type github.RepositoryVulnerabilityAlertEvent and action 'create'.

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

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

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

func (*EventHandler) OnRepositoryVulnerabilityAlertEventDismiss

func (g *EventHandler) OnRepositoryVulnerabilityAlertEventDismiss(callbacks ...RepositoryVulnerabilityAlertEventHandleFunc)

OnRepositoryVulnerabilityAlertEventDismiss registers callbacks listening to events of type github.RepositoryVulnerabilityAlertEvent and action 'dismiss'.

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

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

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

func (*EventHandler) OnRepositoryVulnerabilityAlertEventResolve

func (g *EventHandler) OnRepositoryVulnerabilityAlertEventResolve(callbacks ...RepositoryVulnerabilityAlertEventHandleFunc)

OnRepositoryVulnerabilityAlertEventResolve registers callbacks listening to events of type github.RepositoryVulnerabilityAlertEvent and action 'resolve'.

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

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

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

func (*EventHandler) OnStarEventAny

func (g *EventHandler) OnStarEventAny(callbacks ...StarEventHandleFunc)

OnStarEventAny registers callbacks listening to any events of type github.StarEvent

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

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

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

func (*EventHandler) OnStarEventCreated

func (g *EventHandler) OnStarEventCreated(callbacks ...StarEventHandleFunc)

OnStarEventCreated registers callbacks listening to events of type github.StarEvent and action 'created'.

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

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

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

func (*EventHandler) OnStarEventDeleted

func (g *EventHandler) OnStarEventDeleted(callbacks ...StarEventHandleFunc)

OnStarEventDeleted registers callbacks listening to events of type github.StarEvent and action 'deleted'.

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

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

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

func (*EventHandler) OnStatusEventAny

func (g *EventHandler) OnStatusEventAny(callbacks ...StatusEventHandleFunc)

OnStatusEventAny registers callbacks listening to any events of type github.StatusEvent

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

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

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

func (*EventHandler) OnTeamAddEventAny

func (g *EventHandler) OnTeamAddEventAny(callbacks ...TeamAddEventHandleFunc)

OnTeamAddEventAny registers callbacks listening to any events of type github.TeamAddEvent

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

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

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

func (*EventHandler) OnTeamEventAddedToRepository

func (g *EventHandler) OnTeamEventAddedToRepository(callbacks ...TeamEventHandleFunc)

OnTeamEventAddedToRepository registers callbacks listening to events of type github.TeamEvent and action 'added_to_repository'.

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

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

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

func (*EventHandler) OnTeamEventAny

func (g *EventHandler) OnTeamEventAny(callbacks ...TeamEventHandleFunc)

OnTeamEventAny registers callbacks listening to any events of type github.TeamEvent

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

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

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

func (*EventHandler) OnTeamEventCreated

func (g *EventHandler) OnTeamEventCreated(callbacks ...TeamEventHandleFunc)

OnTeamEventCreated registers callbacks listening to events of type github.TeamEvent and action 'created'.

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

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

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

func (*EventHandler) OnTeamEventDeleted

func (g *EventHandler) OnTeamEventDeleted(callbacks ...TeamEventHandleFunc)

OnTeamEventDeleted registers callbacks listening to events of type github.TeamEvent and action 'deleted'.

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

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

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

func (*EventHandler) OnTeamEventEdited

func (g *EventHandler) OnTeamEventEdited(callbacks ...TeamEventHandleFunc)

OnTeamEventEdited registers callbacks listening to events of type github.TeamEvent and action 'edited'.

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

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

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

func (*EventHandler) OnTeamEventRemovedFromRepository

func (g *EventHandler) OnTeamEventRemovedFromRepository(callbacks ...TeamEventHandleFunc)

OnTeamEventRemovedFromRepository registers callbacks listening to events of type github.TeamEvent and action 'removed_from_repository'.

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

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

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

func (*EventHandler) OnWatchEventAny

func (g *EventHandler) OnWatchEventAny(callbacks ...WatchEventHandleFunc)

OnWatchEventAny registers callbacks listening to any events of type github.WatchEvent

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

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#watch

func (*EventHandler) OnWorkflowDispatchEventAny

func (g *EventHandler) OnWorkflowDispatchEventAny(callbacks ...WorkflowDispatchEventHandleFunc)

OnWorkflowDispatchEventAny registers callbacks listening to any events of type github.WorkflowDispatchEvent

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnWorkflowDispatchEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow_dispatch

func (*EventHandler) OnWorkflowJobEventAny

func (g *EventHandler) OnWorkflowJobEventAny(callbacks ...WorkflowJobEventHandleFunc)

OnWorkflowJobEventAny registers callbacks listening to any events of type github.WorkflowJobEvent

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnWorkflowJobEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow_job

func (*EventHandler) OnWorkflowJobEventCompleted

func (g *EventHandler) OnWorkflowJobEventCompleted(callbacks ...WorkflowJobEventHandleFunc)

OnWorkflowJobEventCompleted registers callbacks listening to events of type github.WorkflowJobEvent and action 'completed'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnWorkflowJobEventCompleted must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow_job

func (*EventHandler) OnWorkflowJobEventInProgress

func (g *EventHandler) OnWorkflowJobEventInProgress(callbacks ...WorkflowJobEventHandleFunc)

OnWorkflowJobEventInProgress registers callbacks listening to events of type github.WorkflowJobEvent and action 'in_progress'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnWorkflowJobEventInProgress must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow_job

func (*EventHandler) OnWorkflowJobEventQueued

func (g *EventHandler) OnWorkflowJobEventQueued(callbacks ...WorkflowJobEventHandleFunc)

OnWorkflowJobEventQueued registers callbacks listening to events of type github.WorkflowJobEvent and action 'queued'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnWorkflowJobEventQueued must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow_job

func (*EventHandler) OnWorkflowRunEventAny

func (g *EventHandler) OnWorkflowRunEventAny(callbacks ...WorkflowRunEventHandleFunc)

OnWorkflowRunEventAny registers callbacks listening to any events of type github.WorkflowRunEvent

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnWorkflowRunEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow_run

func (*EventHandler) OnWorkflowRunEventCompleted

func (g *EventHandler) OnWorkflowRunEventCompleted(callbacks ...WorkflowRunEventHandleFunc)

OnWorkflowRunEventCompleted registers callbacks listening to events of type github.WorkflowRunEvent and action 'completed'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnWorkflowRunEventCompleted must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow_run

func (*EventHandler) OnWorkflowRunEventRequested

func (g *EventHandler) OnWorkflowRunEventRequested(callbacks ...WorkflowRunEventHandleFunc)

OnWorkflowRunEventRequested registers callbacks listening to events of type github.WorkflowRunEvent and action 'requested'.

This function appends the callbacks passed as arguments to already existing ones. If already existing callbacks are to be overwritten, SetOnWorkflowRunEventRequested must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow_run

func (*EventHandler) OrgBlockEvent

func (g *EventHandler) OrgBlockEvent(deliveryID string, eventName string, event *github.OrgBlockEvent) error

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

func (g *EventHandler) OrganizationEvent(deliveryID string, eventName string, event *github.OrganizationEvent) error

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

func (g *EventHandler) PackageEvent(deliveryID string, eventName string, event *github.PackageEvent) error

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

func (g *EventHandler) PageBuildEvent(deliveryID string, eventName string, event *github.PageBuildEvent) error

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

func (g *EventHandler) PingEvent(deliveryID string, eventName string, event *github.PingEvent) error

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) ProjectCardEvent

func (g *EventHandler) ProjectCardEvent(deliveryID string, eventName string, event *github.ProjectCardEvent) error

ProjectCardEvent handles github.ProjectCardEvent.

Callbacks are executed in the following order:

1) All callbacks registered with OnBeforeAny are executed in parallel. 2) All callbacks registered with OnProjectCardEvent... 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) ProjectColumnEvent

func (g *EventHandler) ProjectColumnEvent(deliveryID string, eventName string, event *github.ProjectColumnEvent) error

ProjectColumnEvent handles github.ProjectColumnEvent.

Callbacks are executed in the following order:

1) All callbacks registered with OnBeforeAny are executed in parallel. 2) All callbacks registered with OnProjectColumnEvent... 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) ProjectEvent

func (g *EventHandler) ProjectEvent(deliveryID string, eventName string, event *github.ProjectEvent) error

ProjectEvent handles github.ProjectEvent.

Callbacks are executed in the following order:

1) All callbacks registered with OnBeforeAny are executed in parallel. 2) All callbacks registered with OnProjectEvent... 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

func (g *EventHandler) PublicEvent(deliveryID string, eventName string, event *github.PublicEvent) error

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

func (g *EventHandler) PullRequestEvent(deliveryID string, eventName string, event *github.PullRequestEvent) error

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

func (g *EventHandler) PullRequestReviewCommentEvent(deliveryID string, eventName string, event *github.PullRequestReviewCommentEvent) error

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

func (g *EventHandler) PullRequestReviewEvent(deliveryID string, eventName string, event *github.PullRequestReviewEvent) error

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

func (g *EventHandler) PushEvent(deliveryID string, eventName string, event *github.PushEvent) error

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

func (g *EventHandler) ReleaseEvent(deliveryID string, eventName string, event *github.ReleaseEvent) error

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

func (g *EventHandler) RepositoryDispatchEvent(deliveryID string, eventName string, event *github.RepositoryDispatchEvent) error

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

func (g *EventHandler) RepositoryEvent(deliveryID string, eventName string, event *github.RepositoryEvent) error

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) RepositoryVulnerabilityAlertEvent

func (g *EventHandler) RepositoryVulnerabilityAlertEvent(deliveryID string, eventName string, event *github.RepositoryVulnerabilityAlertEvent) error

RepositoryVulnerabilityAlertEvent handles github.RepositoryVulnerabilityAlertEvent.

Callbacks are executed in the following order:

1) All callbacks registered with OnBeforeAny are executed in parallel. 2) All callbacks registered with OnRepositoryVulnerabilityAlertEvent... are executed in parallel in case the Event has actions. 3) All callbacks registered with OnAfterAny are executed in parallel.

on any error all callbacks registered with OnError are executed in parallel.

func (*EventHandler) SetOnAfterAny

func (g *EventHandler) SetOnAfterAny(callbacks ...EventHandleFunc)

SetOnAfterAny registers callbacks which are triggered after any event and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnAfterAny must be used. Callbacks are executed in parallel.

func (*EventHandler) SetOnBeforeAny

func (g *EventHandler) SetOnBeforeAny(callbacks ...EventHandleFunc)

SetOnBeforeAny registers callbacks which are triggered before any event and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnBeforeAny must be used. Callbacks are executed in parallel.

func (*EventHandler) SetOnBranchProtectionRuleEventAny

func (g *EventHandler) SetOnBranchProtectionRuleEventAny(callbacks ...BranchProtectionRuleEventHandleFunc)

SetOnBranchProtectionRuleEventAny registers callbacks listening to any events of type github.BranchProtectionRuleEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnBranchProtectionRuleEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#branch_protection_rule

func (*EventHandler) SetOnBranchProtectionRuleEventCreated

func (g *EventHandler) SetOnBranchProtectionRuleEventCreated(callbacks ...BranchProtectionRuleEventHandleFunc)

SetOnBranchProtectionRuleEventCreated registers callbacks listening to events of type github.BranchProtectionRuleEvent and action 'created' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnBranchProtectionRuleEventCreatedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#branch_protection_rule

func (*EventHandler) SetOnBranchProtectionRuleEventDeleted

func (g *EventHandler) SetOnBranchProtectionRuleEventDeleted(callbacks ...BranchProtectionRuleEventHandleFunc)

SetOnBranchProtectionRuleEventDeleted registers callbacks listening to events of type github.BranchProtectionRuleEvent and action 'deleted' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnBranchProtectionRuleEventDeletedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#branch_protection_rule

func (*EventHandler) SetOnBranchProtectionRuleEventEdited

func (g *EventHandler) SetOnBranchProtectionRuleEventEdited(callbacks ...BranchProtectionRuleEventHandleFunc)

SetOnBranchProtectionRuleEventEdited registers callbacks listening to events of type github.BranchProtectionRuleEvent and action 'edited' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnBranchProtectionRuleEventEditedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#branch_protection_rule

func (*EventHandler) SetOnCheckRunEventAny

func (g *EventHandler) SetOnCheckRunEventAny(callbacks ...CheckRunEventHandleFunc)

SetOnCheckRunEventAny registers callbacks listening to any events of type github.CheckRunEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnCheckRunEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#check_run

func (*EventHandler) SetOnCheckRunEventCompleted

func (g *EventHandler) SetOnCheckRunEventCompleted(callbacks ...CheckRunEventHandleFunc)

SetOnCheckRunEventCompleted registers callbacks listening to events of type github.CheckRunEvent and action 'completed' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnCheckRunEventCompletedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#check_run

func (*EventHandler) SetOnCheckRunEventCreated

func (g *EventHandler) SetOnCheckRunEventCreated(callbacks ...CheckRunEventHandleFunc)

SetOnCheckRunEventCreated registers callbacks listening to events of type github.CheckRunEvent and action 'created' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnCheckRunEventCreatedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#check_run

func (*EventHandler) SetOnCheckRunEventReRequested

func (g *EventHandler) SetOnCheckRunEventReRequested(callbacks ...CheckRunEventHandleFunc)

SetOnCheckRunEventReRequested registers callbacks listening to events of type github.CheckRunEvent and action 'rerequested' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnCheckRunEventReRequestedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#check_run

func (*EventHandler) SetOnCheckRunEventRequestAction

func (g *EventHandler) SetOnCheckRunEventRequestAction(callbacks ...CheckRunEventHandleFunc)

SetOnCheckRunEventRequestAction registers callbacks listening to events of type github.CheckRunEvent and action 'requested_action' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnCheckRunEventRequestActionAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#check_run

func (*EventHandler) SetOnCheckSuiteEventAny

func (g *EventHandler) SetOnCheckSuiteEventAny(callbacks ...CheckSuiteEventHandleFunc)

SetOnCheckSuiteEventAny registers callbacks listening to any events of type github.CheckSuiteEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnCheckSuiteEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#check_suite

func (*EventHandler) SetOnCheckSuiteEventCompleted

func (g *EventHandler) SetOnCheckSuiteEventCompleted(callbacks ...CheckSuiteEventHandleFunc)

SetOnCheckSuiteEventCompleted registers callbacks listening to events of type github.CheckSuiteEvent and action 'completed' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnCheckSuiteEventCompletedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#check_suite

func (*EventHandler) SetOnCheckSuiteEventReRequested

func (g *EventHandler) SetOnCheckSuiteEventReRequested(callbacks ...CheckSuiteEventHandleFunc)

SetOnCheckSuiteEventReRequested registers callbacks listening to events of type github.CheckSuiteEvent and action 'rerequested' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnCheckSuiteEventReRequestedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#check_suite

func (*EventHandler) SetOnCheckSuiteEventRequested

func (g *EventHandler) SetOnCheckSuiteEventRequested(callbacks ...CheckSuiteEventHandleFunc)

SetOnCheckSuiteEventRequested registers callbacks listening to events of type github.CheckSuiteEvent and action 'requested' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnCheckSuiteEventRequestedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#check_suite

func (*EventHandler) SetOnCommitCommentEventAny

func (g *EventHandler) SetOnCommitCommentEventAny(callbacks ...CommitCommentEventHandleFunc)

SetOnCommitCommentEventAny registers callbacks listening to any events of type github.CommitCommentEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnCommitCommentEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#commit_comment

func (*EventHandler) SetOnCommitCommentEventCreated

func (g *EventHandler) SetOnCommitCommentEventCreated(callbacks ...CommitCommentEventHandleFunc)

SetOnCommitCommentEventCreated registers callbacks listening to events of type github.CommitCommentEvent and action 'created' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnCommitCommentEventCreatedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#commit_comment

func (*EventHandler) SetOnCreateEventAny

func (g *EventHandler) SetOnCreateEventAny(callbacks ...CreateEventHandleFunc)

SetOnCreateEventAny registers callbacks listening to any events of type github.CreateEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnCreateEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#create

func (*EventHandler) SetOnDeleteEventAny

func (g *EventHandler) SetOnDeleteEventAny(callbacks ...DeleteEventHandleFunc)

SetOnDeleteEventAny registers callbacks listening to any events of type github.DeleteEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnDeleteEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#delete

func (*EventHandler) SetOnDeployKeyEventAny

func (g *EventHandler) SetOnDeployKeyEventAny(callbacks ...DeployKeyEventHandleFunc)

SetOnDeployKeyEventAny registers callbacks listening to any events of type github.DeployKeyEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnDeployKeyEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#deploy_key

func (*EventHandler) SetOnDeployKeyEventCreated

func (g *EventHandler) SetOnDeployKeyEventCreated(callbacks ...DeployKeyEventHandleFunc)

SetOnDeployKeyEventCreated registers callbacks listening to events of type github.DeployKeyEvent and action 'created' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnDeployKeyEventCreatedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#deploy_key

func (*EventHandler) SetOnDeployKeyEventDeleted

func (g *EventHandler) SetOnDeployKeyEventDeleted(callbacks ...DeployKeyEventHandleFunc)

SetOnDeployKeyEventDeleted registers callbacks listening to events of type github.DeployKeyEvent and action 'deleted' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnDeployKeyEventDeletedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#deploy_key

func (*EventHandler) SetOnDeploymentEventAny

func (g *EventHandler) SetOnDeploymentEventAny(callbacks ...DeploymentEventHandleFunc)

SetOnDeploymentEventAny registers callbacks listening to any events of type github.DeploymentEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnDeploymentEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#deployment

func (*EventHandler) SetOnDeploymentStatusEventAny

func (g *EventHandler) SetOnDeploymentStatusEventAny(callbacks ...DeploymentStatusEventHandleFunc)

SetOnDeploymentStatusEventAny registers callbacks listening to any events of type github.DeploymentStatusEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnDeploymentStatusEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#deployment_status

func (*EventHandler) SetOnDiscussionEventAnswered

func (g *EventHandler) SetOnDiscussionEventAnswered(callbacks ...DiscussionEventHandleFunc)

SetOnDiscussionEventAnswered registers callbacks listening to events of type github.DiscussionEvent and action 'answered' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnDiscussionEventAnsweredAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#discussion

func (*EventHandler) SetOnDiscussionEventAny

func (g *EventHandler) SetOnDiscussionEventAny(callbacks ...DiscussionEventHandleFunc)

SetOnDiscussionEventAny registers callbacks listening to any events of type github.DiscussionEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnDiscussionEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#discussion

func (*EventHandler) SetOnDiscussionEventCategoryChanged

func (g *EventHandler) SetOnDiscussionEventCategoryChanged(callbacks ...DiscussionEventHandleFunc)

SetOnDiscussionEventCategoryChanged registers callbacks listening to events of type github.DiscussionEvent and action 'category_changed' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnDiscussionEventCategoryChangedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#discussion

func (*EventHandler) SetOnDiscussionEventCreated

func (g *EventHandler) SetOnDiscussionEventCreated(callbacks ...DiscussionEventHandleFunc)

SetOnDiscussionEventCreated registers callbacks listening to events of type github.DiscussionEvent and action 'created' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnDiscussionEventCreatedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#discussion

func (*EventHandler) SetOnDiscussionEventDeleted

func (g *EventHandler) SetOnDiscussionEventDeleted(callbacks ...DiscussionEventHandleFunc)

SetOnDiscussionEventDeleted registers callbacks listening to events of type github.DiscussionEvent and action 'deleted' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnDiscussionEventDeletedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#discussion

func (*EventHandler) SetOnDiscussionEventEdited

func (g *EventHandler) SetOnDiscussionEventEdited(callbacks ...DiscussionEventHandleFunc)

SetOnDiscussionEventEdited registers callbacks listening to events of type github.DiscussionEvent and action 'edited' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnDiscussionEventEditedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#discussion

func (*EventHandler) SetOnDiscussionEventLabeled

func (g *EventHandler) SetOnDiscussionEventLabeled(callbacks ...DiscussionEventHandleFunc)

SetOnDiscussionEventLabeled registers callbacks listening to events of type github.DiscussionEvent and action 'labeled' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnDiscussionEventLabeledAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#discussion

func (*EventHandler) SetOnDiscussionEventLocked

func (g *EventHandler) SetOnDiscussionEventLocked(callbacks ...DiscussionEventHandleFunc)

SetOnDiscussionEventLocked registers callbacks listening to events of type github.DiscussionEvent and action 'locked' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnDiscussionEventLockedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#discussion

func (*EventHandler) SetOnDiscussionEventPinned

func (g *EventHandler) SetOnDiscussionEventPinned(callbacks ...DiscussionEventHandleFunc)

SetOnDiscussionEventPinned registers callbacks listening to events of type github.DiscussionEvent and action 'pinned' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnDiscussionEventPinnedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#discussion

func (*EventHandler) SetOnDiscussionEventTransferred

func (g *EventHandler) SetOnDiscussionEventTransferred(callbacks ...DiscussionEventHandleFunc)

SetOnDiscussionEventTransferred registers callbacks listening to events of type github.DiscussionEvent and action 'transferred' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnDiscussionEventTransferredAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#discussion

func (*EventHandler) SetOnDiscussionEventUnanswered

func (g *EventHandler) SetOnDiscussionEventUnanswered(callbacks ...DiscussionEventHandleFunc)

SetOnDiscussionEventUnanswered registers callbacks listening to events of type github.DiscussionEvent and action 'unanswered' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnDiscussionEventUnansweredAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#discussion

func (*EventHandler) SetOnDiscussionEventUnlabeled

func (g *EventHandler) SetOnDiscussionEventUnlabeled(callbacks ...DiscussionEventHandleFunc)

SetOnDiscussionEventUnlabeled registers callbacks listening to events of type github.DiscussionEvent and action 'unlabeled' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnDiscussionEventUnlabeledAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#discussion

func (*EventHandler) SetOnDiscussionEventUnlocked

func (g *EventHandler) SetOnDiscussionEventUnlocked(callbacks ...DiscussionEventHandleFunc)

SetOnDiscussionEventUnlocked registers callbacks listening to events of type github.DiscussionEvent and action 'unlocked' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnDiscussionEventUnlockedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#discussion

func (*EventHandler) SetOnDiscussionEventUnpinned

func (g *EventHandler) SetOnDiscussionEventUnpinned(callbacks ...DiscussionEventHandleFunc)

SetOnDiscussionEventUnpinned registers callbacks listening to events of type github.DiscussionEvent and action 'unpinned' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnDiscussionEventUnpinnedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#discussion

func (*EventHandler) SetOnError

func (g *EventHandler) SetOnError(callbacks ...ErrorEventHandleFunc)

SetOnError registers callbacks which are triggered whenever an error occurs and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnError must be used. Callbacks are executed in parallel.

func (*EventHandler) SetOnForkEventAny

func (g *EventHandler) SetOnForkEventAny(callbacks ...ForkEventHandleFunc)

SetOnForkEventAny registers callbacks listening to any events of type github.ForkEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnForkEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#fork

func (*EventHandler) SetOnGitHubAppAuthorizationEventAny

func (g *EventHandler) SetOnGitHubAppAuthorizationEventAny(callbacks ...GitHubAppAuthorizationEventHandleFunc)

SetOnGitHubAppAuthorizationEventAny registers callbacks listening to any events of type github.GitHubAppAuthorizationEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnGitHubAppAuthorizationEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#github_app_authorization

func (*EventHandler) SetOnGitHubAppAuthorizationEventRevoked

func (g *EventHandler) SetOnGitHubAppAuthorizationEventRevoked(callbacks ...GitHubAppAuthorizationEventHandleFunc)

SetOnGitHubAppAuthorizationEventRevoked registers callbacks listening to events of type github.GitHubAppAuthorizationEvent and action 'revoked' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnGitHubAppAuthorizationEventRevokedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#github_app_authorization

func (*EventHandler) SetOnGollumEventAny

func (g *EventHandler) SetOnGollumEventAny(callbacks ...GollumEventHandleFunc)

SetOnGollumEventAny registers callbacks listening to any events of type github.GollumEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnGollumEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#gollum

func (*EventHandler) SetOnInstallationEventAny

func (g *EventHandler) SetOnInstallationEventAny(callbacks ...InstallationEventHandleFunc)

SetOnInstallationEventAny registers callbacks listening to any events of type github.InstallationEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnInstallationEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#installation

func (*EventHandler) SetOnInstallationEventCreated

func (g *EventHandler) SetOnInstallationEventCreated(callbacks ...InstallationEventHandleFunc)

SetOnInstallationEventCreated registers callbacks listening to events of type github.InstallationEvent and action 'created' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnInstallationEventCreatedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#installation

func (*EventHandler) SetOnInstallationEventDeleted

func (g *EventHandler) SetOnInstallationEventDeleted(callbacks ...InstallationEventHandleFunc)

SetOnInstallationEventDeleted registers callbacks listening to events of type github.InstallationEvent and action 'deleted' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnInstallationEventDeletedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#installation

func (*EventHandler) SetOnInstallationEventEventSuspend

func (g *EventHandler) SetOnInstallationEventEventSuspend(callbacks ...InstallationEventHandleFunc)

SetOnInstallationEventEventSuspend registers callbacks listening to events of type github.InstallationEvent and action 'suspend' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnInstallationEventEventSuspendAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#installation

func (*EventHandler) SetOnInstallationEventEventUnsuspend

func (g *EventHandler) SetOnInstallationEventEventUnsuspend(callbacks ...InstallationEventHandleFunc)

SetOnInstallationEventEventUnsuspend registers callbacks listening to events of type github.InstallationEvent and action 'unsuspend' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnInstallationEventEventUnsuspendAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#installation

func (*EventHandler) SetOnInstallationEventNewPermissionsAccepted

func (g *EventHandler) SetOnInstallationEventNewPermissionsAccepted(callbacks ...InstallationEventHandleFunc)

SetOnInstallationEventNewPermissionsAccepted registers callbacks listening to events of type github.InstallationEvent and action 'new_permissions_accepted' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnInstallationEventNewPermissionsAcceptedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#installation

func (*EventHandler) SetOnInstallationRepositoriesEventAdded

func (g *EventHandler) SetOnInstallationRepositoriesEventAdded(callbacks ...InstallationRepositoriesEventHandleFunc)

SetOnInstallationRepositoriesEventAdded registers callbacks listening to events of type github.InstallationRepositoriesEvent and action 'added' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnInstallationRepositoriesEventAddedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#installation_repositories

func (*EventHandler) SetOnInstallationRepositoriesEventAny

func (g *EventHandler) SetOnInstallationRepositoriesEventAny(callbacks ...InstallationRepositoriesEventHandleFunc)

SetOnInstallationRepositoriesEventAny registers callbacks listening to any events of type github.InstallationRepositoriesEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnInstallationRepositoriesEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#installation_repositories

func (*EventHandler) SetOnInstallationRepositoriesEventRemoved

func (g *EventHandler) SetOnInstallationRepositoriesEventRemoved(callbacks ...InstallationRepositoriesEventHandleFunc)

SetOnInstallationRepositoriesEventRemoved registers callbacks listening to events of type github.InstallationRepositoriesEvent and action 'removed' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnInstallationRepositoriesEventRemovedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#installation_repositories

func (*EventHandler) SetOnIssueCommentCreated

func (g *EventHandler) SetOnIssueCommentCreated(callbacks ...IssueCommentEventHandleFunc)

SetOnIssueCommentCreated registers callbacks listening to events of type github.IssueCommentEvent and action 'created' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnIssueCommentCreatedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issue_comment

func (*EventHandler) SetOnIssueCommentDeleted

func (g *EventHandler) SetOnIssueCommentDeleted(callbacks ...IssueCommentEventHandleFunc)

SetOnIssueCommentDeleted registers callbacks listening to events of type github.IssueCommentEvent and action 'deleted' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnIssueCommentDeletedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issue_comment

func (*EventHandler) SetOnIssueCommentEdited

func (g *EventHandler) SetOnIssueCommentEdited(callbacks ...IssueCommentEventHandleFunc)

SetOnIssueCommentEdited registers callbacks listening to events of type github.IssueCommentEvent and action 'edited' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnIssueCommentEditedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issue_comment

func (*EventHandler) SetOnIssueCommentEventAny

func (g *EventHandler) SetOnIssueCommentEventAny(callbacks ...IssueCommentEventHandleFunc)

SetOnIssueCommentEventAny registers callbacks listening to any events of type github.IssueCommentEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnIssueCommentEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issue_comment

func (*EventHandler) SetOnIssuesEventAny

func (g *EventHandler) SetOnIssuesEventAny(callbacks ...IssuesEventHandleFunc)

SetOnIssuesEventAny registers callbacks listening to any events of type github.IssuesEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnIssuesEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issues

func (*EventHandler) SetOnIssuesEventAssigned

func (g *EventHandler) SetOnIssuesEventAssigned(callbacks ...IssuesEventHandleFunc)

SetOnIssuesEventAssigned registers callbacks listening to events of type github.IssuesEvent and action 'assigned' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnIssuesEventAssignedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issues

func (*EventHandler) SetOnIssuesEventClosed

func (g *EventHandler) SetOnIssuesEventClosed(callbacks ...IssuesEventHandleFunc)

SetOnIssuesEventClosed registers callbacks listening to events of type github.IssuesEvent and action 'closed' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnIssuesEventClosedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issues

func (*EventHandler) SetOnIssuesEventDeMilestoned

func (g *EventHandler) SetOnIssuesEventDeMilestoned(callbacks ...IssuesEventHandleFunc)

SetOnIssuesEventDeMilestoned registers callbacks listening to events of type github.IssuesEvent and action 'demilestoned' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnIssuesEventDeMilestonedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issues

func (*EventHandler) SetOnIssuesEventDeleted

func (g *EventHandler) SetOnIssuesEventDeleted(callbacks ...IssuesEventHandleFunc)

SetOnIssuesEventDeleted registers callbacks listening to events of type github.IssuesEvent and action 'deleted' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnIssuesEventDeletedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issues

func (*EventHandler) SetOnIssuesEventEdited

func (g *EventHandler) SetOnIssuesEventEdited(callbacks ...IssuesEventHandleFunc)

SetOnIssuesEventEdited registers callbacks listening to events of type github.IssuesEvent and action 'edited' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnIssuesEventEditedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issues

func (*EventHandler) SetOnIssuesEventLabeled

func (g *EventHandler) SetOnIssuesEventLabeled(callbacks ...IssuesEventHandleFunc)

SetOnIssuesEventLabeled registers callbacks listening to events of type github.IssuesEvent and action 'labeled' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnIssuesEventLabeledAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issues

func (*EventHandler) SetOnIssuesEventLocked

func (g *EventHandler) SetOnIssuesEventLocked(callbacks ...IssuesEventHandleFunc)

SetOnIssuesEventLocked registers callbacks listening to events of type github.IssuesEvent and action 'locked' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnIssuesEventLockedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issues

func (*EventHandler) SetOnIssuesEventMilestoned

func (g *EventHandler) SetOnIssuesEventMilestoned(callbacks ...IssuesEventHandleFunc)

SetOnIssuesEventMilestoned registers callbacks listening to events of type github.IssuesEvent and action 'milestoned' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnIssuesEventMilestonedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issues

func (*EventHandler) SetOnIssuesEventOpened

func (g *EventHandler) SetOnIssuesEventOpened(callbacks ...IssuesEventHandleFunc)

SetOnIssuesEventOpened registers callbacks listening to events of type github.IssuesEvent and action 'opened' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnIssuesEventOpenedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issues

func (*EventHandler) SetOnIssuesEventPinned

func (g *EventHandler) SetOnIssuesEventPinned(callbacks ...IssuesEventHandleFunc)

SetOnIssuesEventPinned registers callbacks listening to events of type github.IssuesEvent and action 'pinned' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnIssuesEventPinnedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issues

func (*EventHandler) SetOnIssuesEventReopened

func (g *EventHandler) SetOnIssuesEventReopened(callbacks ...IssuesEventHandleFunc)

SetOnIssuesEventReopened registers callbacks listening to events of type github.IssuesEvent and action 'reopened' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnIssuesEventReopenedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issues

func (*EventHandler) SetOnIssuesEventTransferred

func (g *EventHandler) SetOnIssuesEventTransferred(callbacks ...IssuesEventHandleFunc)

SetOnIssuesEventTransferred registers callbacks listening to events of type github.IssuesEvent and action 'transferred' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnIssuesEventTransferredAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issues

func (*EventHandler) SetOnIssuesEventUnassigned

func (g *EventHandler) SetOnIssuesEventUnassigned(callbacks ...IssuesEventHandleFunc)

SetOnIssuesEventUnassigned registers callbacks listening to events of type github.IssuesEvent and action 'unassigned' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnIssuesEventUnassignedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issues

func (*EventHandler) SetOnIssuesEventUnlabeled

func (g *EventHandler) SetOnIssuesEventUnlabeled(callbacks ...IssuesEventHandleFunc)

SetOnIssuesEventUnlabeled registers callbacks listening to events of type github.IssuesEvent and action 'unlabeled' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnIssuesEventUnlabeledAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issues

func (*EventHandler) SetOnIssuesEventUnlocked

func (g *EventHandler) SetOnIssuesEventUnlocked(callbacks ...IssuesEventHandleFunc)

SetOnIssuesEventUnlocked registers callbacks listening to events of type github.IssuesEvent and action 'unlocked' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnIssuesEventUnlockedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issues

func (*EventHandler) SetOnIssuesEventUnpinned

func (g *EventHandler) SetOnIssuesEventUnpinned(callbacks ...IssuesEventHandleFunc)

SetOnIssuesEventUnpinned registers callbacks listening to events of type github.IssuesEvent and action 'unpinned' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnIssuesEventUnpinnedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issues

func (*EventHandler) SetOnLabelEventAny

func (g *EventHandler) SetOnLabelEventAny(callbacks ...LabelEventHandleFunc)

SetOnLabelEventAny registers callbacks listening to any events of type github.LabelEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnLabelEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#label

func (*EventHandler) SetOnLabelEventCreated

func (g *EventHandler) SetOnLabelEventCreated(callbacks ...LabelEventHandleFunc)

SetOnLabelEventCreated registers callbacks listening to events of type github.LabelEvent and action 'created' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnLabelEventCreatedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#label

func (*EventHandler) SetOnLabelEventDeleted

func (g *EventHandler) SetOnLabelEventDeleted(callbacks ...LabelEventHandleFunc)

SetOnLabelEventDeleted registers callbacks listening to events of type github.LabelEvent and action 'deleted' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnLabelEventDeletedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#label

func (*EventHandler) SetOnLabelEventEdited

func (g *EventHandler) SetOnLabelEventEdited(callbacks ...LabelEventHandleFunc)

SetOnLabelEventEdited registers callbacks listening to events of type github.LabelEvent and action 'edited' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnLabelEventEditedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#label

func (*EventHandler) SetOnMarketplacePurchaseEventAny

func (g *EventHandler) SetOnMarketplacePurchaseEventAny(callbacks ...MarketplacePurchaseEventHandleFunc)

SetOnMarketplacePurchaseEventAny registers callbacks listening to any events of type github.MarketplacePurchaseEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnMarketplacePurchaseEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#marketplace_purchase

func (*EventHandler) SetOnMarketplacePurchaseEventCancelled

func (g *EventHandler) SetOnMarketplacePurchaseEventCancelled(callbacks ...MarketplacePurchaseEventHandleFunc)

SetOnMarketplacePurchaseEventCancelled registers callbacks listening to events of type github.MarketplacePurchaseEvent and action 'cancelled' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnMarketplacePurchaseEventCancelledAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#marketplace_purchase

func (*EventHandler) SetOnMarketplacePurchaseEventChanged

func (g *EventHandler) SetOnMarketplacePurchaseEventChanged(callbacks ...MarketplacePurchaseEventHandleFunc)

SetOnMarketplacePurchaseEventChanged registers callbacks listening to events of type github.MarketplacePurchaseEvent and action 'changed' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnMarketplacePurchaseEventChangedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#marketplace_purchase

func (*EventHandler) SetOnMarketplacePurchaseEventPendingChange

func (g *EventHandler) SetOnMarketplacePurchaseEventPendingChange(callbacks ...MarketplacePurchaseEventHandleFunc)

SetOnMarketplacePurchaseEventPendingChange registers callbacks listening to events of type github.MarketplacePurchaseEvent and action 'pending_change' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnMarketplacePurchaseEventPendingChangeAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#marketplace_purchase

func (*EventHandler) SetOnMarketplacePurchaseEventPendingChangeCancelled

func (g *EventHandler) SetOnMarketplacePurchaseEventPendingChangeCancelled(callbacks ...MarketplacePurchaseEventHandleFunc)

SetOnMarketplacePurchaseEventPendingChangeCancelled registers callbacks listening to events of type github.MarketplacePurchaseEvent and action 'pending_change_cancelled' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnMarketplacePurchaseEventPendingChangeCancelledAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#marketplace_purchase

func (*EventHandler) SetOnMarketplacePurchaseEventPurchased

func (g *EventHandler) SetOnMarketplacePurchaseEventPurchased(callbacks ...MarketplacePurchaseEventHandleFunc)

SetOnMarketplacePurchaseEventPurchased registers callbacks listening to events of type github.MarketplacePurchaseEvent and action 'purchased' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnMarketplacePurchaseEventPurchasedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#marketplace_purchase

func (*EventHandler) SetOnMemberEventAdded

func (g *EventHandler) SetOnMemberEventAdded(callbacks ...MemberEventHandleFunc)

SetOnMemberEventAdded registers callbacks listening to events of type github.MemberEvent and action 'added' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnMemberEventAddedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#member

func (*EventHandler) SetOnMemberEventAny

func (g *EventHandler) SetOnMemberEventAny(callbacks ...MemberEventHandleFunc)

SetOnMemberEventAny registers callbacks listening to any events of type github.MemberEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnMemberEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#member

func (*EventHandler) SetOnMemberEventEdited

func (g *EventHandler) SetOnMemberEventEdited(callbacks ...MemberEventHandleFunc)

SetOnMemberEventEdited registers callbacks listening to events of type github.MemberEvent and action 'edited' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnMemberEventEditedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#member

func (*EventHandler) SetOnMemberEventRemoved

func (g *EventHandler) SetOnMemberEventRemoved(callbacks ...MemberEventHandleFunc)

SetOnMemberEventRemoved registers callbacks listening to events of type github.MemberEvent and action 'removed' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnMemberEventRemovedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#member

func (*EventHandler) SetOnMembershipEventAdded

func (g *EventHandler) SetOnMembershipEventAdded(callbacks ...MembershipEventHandleFunc)

SetOnMembershipEventAdded registers callbacks listening to events of type github.MembershipEvent and action 'added' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnMembershipEventAddedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#membership

func (*EventHandler) SetOnMembershipEventAny

func (g *EventHandler) SetOnMembershipEventAny(callbacks ...MembershipEventHandleFunc)

SetOnMembershipEventAny registers callbacks listening to any events of type github.MembershipEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnMembershipEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#membership

func (*EventHandler) SetOnMembershipEventRemoved

func (g *EventHandler) SetOnMembershipEventRemoved(callbacks ...MembershipEventHandleFunc)

SetOnMembershipEventRemoved registers callbacks listening to events of type github.MembershipEvent and action 'removed' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnMembershipEventRemovedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#membership

func (*EventHandler) SetOnMetaEventAny

func (g *EventHandler) SetOnMetaEventAny(callbacks ...MetaEventHandleFunc)

SetOnMetaEventAny registers callbacks listening to any events of type github.MetaEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnMetaEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#meta

func (*EventHandler) SetOnMilestoneEventAny

func (g *EventHandler) SetOnMilestoneEventAny(callbacks ...MilestoneEventHandleFunc)

SetOnMilestoneEventAny registers callbacks listening to any events of type github.MilestoneEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnMilestoneEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#milestone

func (*EventHandler) SetOnMilestoneEventClosed

func (g *EventHandler) SetOnMilestoneEventClosed(callbacks ...MilestoneEventHandleFunc)

SetOnMilestoneEventClosed registers callbacks listening to events of type github.MilestoneEvent and action 'closed' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnMilestoneEventClosedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#milestone

func (*EventHandler) SetOnMilestoneEventCreated

func (g *EventHandler) SetOnMilestoneEventCreated(callbacks ...MilestoneEventHandleFunc)

SetOnMilestoneEventCreated registers callbacks listening to events of type github.MilestoneEvent and action 'created' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnMilestoneEventCreatedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#milestone

func (*EventHandler) SetOnMilestoneEventDeleted

func (g *EventHandler) SetOnMilestoneEventDeleted(callbacks ...MilestoneEventHandleFunc)

SetOnMilestoneEventDeleted registers callbacks listening to events of type github.MilestoneEvent and action 'deleted' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnMilestoneEventDeletedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#milestone

func (*EventHandler) SetOnMilestoneEventEdited

func (g *EventHandler) SetOnMilestoneEventEdited(callbacks ...MilestoneEventHandleFunc)

SetOnMilestoneEventEdited registers callbacks listening to events of type github.MilestoneEvent and action 'edited' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnMilestoneEventEditedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#milestone

func (*EventHandler) SetOnMilestoneEventOpened

func (g *EventHandler) SetOnMilestoneEventOpened(callbacks ...MilestoneEventHandleFunc)

SetOnMilestoneEventOpened registers callbacks listening to events of type github.MilestoneEvent and action 'opened' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnMilestoneEventOpenedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#milestone

func (*EventHandler) SetOnOrgBlockEventAny

func (g *EventHandler) SetOnOrgBlockEventAny(callbacks ...OrgBlockEventHandleFunc)

SetOnOrgBlockEventAny registers callbacks listening to any events of type github.OrgBlockEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnOrgBlockEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#org_block

func (*EventHandler) SetOnOrgBlockEventBlocked

func (g *EventHandler) SetOnOrgBlockEventBlocked(callbacks ...OrgBlockEventHandleFunc)

SetOnOrgBlockEventBlocked registers callbacks listening to events of type github.OrgBlockEvent and action 'blocked' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnOrgBlockEventBlockedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#org_block

func (*EventHandler) SetOnOrgBlockEventUnblocked

func (g *EventHandler) SetOnOrgBlockEventUnblocked(callbacks ...OrgBlockEventHandleFunc)

SetOnOrgBlockEventUnblocked registers callbacks listening to events of type github.OrgBlockEvent and action 'unblocked' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnOrgBlockEventUnblockedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#org_block

func (*EventHandler) SetOnOrganizationEventAny

func (g *EventHandler) SetOnOrganizationEventAny(callbacks ...OrganizationEventHandleFunc)

SetOnOrganizationEventAny registers callbacks listening to any events of type github.OrganizationEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnOrganizationEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#organization

func (*EventHandler) SetOnOrganizationEventDeleted

func (g *EventHandler) SetOnOrganizationEventDeleted(callbacks ...OrganizationEventHandleFunc)

SetOnOrganizationEventDeleted registers callbacks listening to events of type github.OrganizationEvent and action 'deleted' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnOrganizationEventDeletedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#organization

func (*EventHandler) SetOnOrganizationEventMemberAdded

func (g *EventHandler) SetOnOrganizationEventMemberAdded(callbacks ...OrganizationEventHandleFunc)

SetOnOrganizationEventMemberAdded registers callbacks listening to events of type github.OrganizationEvent and action 'member_added' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnOrganizationEventMemberAddedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#organization

func (*EventHandler) SetOnOrganizationEventMemberInvited

func (g *EventHandler) SetOnOrganizationEventMemberInvited(callbacks ...OrganizationEventHandleFunc)

SetOnOrganizationEventMemberInvited registers callbacks listening to events of type github.OrganizationEvent and action 'member_invited' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnOrganizationEventMemberInvitedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#organization

func (*EventHandler) SetOnOrganizationEventMemberRemoved

func (g *EventHandler) SetOnOrganizationEventMemberRemoved(callbacks ...OrganizationEventHandleFunc)

SetOnOrganizationEventMemberRemoved registers callbacks listening to events of type github.OrganizationEvent and action 'member_removed' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnOrganizationEventMemberRemovedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#organization

func (*EventHandler) SetOnOrganizationEventRenamed

func (g *EventHandler) SetOnOrganizationEventRenamed(callbacks ...OrganizationEventHandleFunc)

SetOnOrganizationEventRenamed registers callbacks listening to events of type github.OrganizationEvent and action 'renamed' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnOrganizationEventRenamedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#organization

func (*EventHandler) SetOnPackageEventAny

func (g *EventHandler) SetOnPackageEventAny(callbacks ...PackageEventHandleFunc)

SetOnPackageEventAny registers callbacks listening to any events of type github.PackageEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnPackageEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#package

func (*EventHandler) SetOnPackageEventPublished

func (g *EventHandler) SetOnPackageEventPublished(callbacks ...PackageEventHandleFunc)

SetOnPackageEventPublished registers callbacks listening to events of type github.PackageEvent and action 'published' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnPackageEventPublishedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#package

func (*EventHandler) SetOnPackageEventUpdated

func (g *EventHandler) SetOnPackageEventUpdated(callbacks ...PackageEventHandleFunc)

SetOnPackageEventUpdated registers callbacks listening to events of type github.PackageEvent and action 'updated' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnPackageEventUpdatedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#package

func (*EventHandler) SetOnPageBuildEventAny

func (g *EventHandler) SetOnPageBuildEventAny(callbacks ...PageBuildEventHandleFunc)

SetOnPageBuildEventAny registers callbacks listening to any events of type github.PageBuildEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnPageBuildEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#page_build

func (*EventHandler) SetOnPingEventAny

func (g *EventHandler) SetOnPingEventAny(callbacks ...PingEventHandleFunc)

SetOnPingEventAny registers callbacks listening to any events of type github.PingEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnPingEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#ping

func (*EventHandler) SetOnProjectCardEventAny

func (g *EventHandler) SetOnProjectCardEventAny(callbacks ...ProjectCardEventHandleFunc)

SetOnProjectCardEventAny registers callbacks listening to any events of type github.ProjectCardEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnProjectCardEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been 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_card

func (*EventHandler) SetOnProjectCardEventConverted

func (g *EventHandler) SetOnProjectCardEventConverted(callbacks ...ProjectCardEventHandleFunc)

SetOnProjectCardEventConverted registers callbacks listening to events of type github.ProjectCardEvent and action 'converted' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnProjectCardEventConvertedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been 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_card

func (*EventHandler) SetOnProjectCardEventCreated

func (g *EventHandler) SetOnProjectCardEventCreated(callbacks ...ProjectCardEventHandleFunc)

SetOnProjectCardEventCreated registers callbacks listening to events of type github.ProjectCardEvent and action 'created' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnProjectCardEventCreatedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been 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_card

func (*EventHandler) SetOnProjectCardEventDeleted

func (g *EventHandler) SetOnProjectCardEventDeleted(callbacks ...ProjectCardEventHandleFunc)

SetOnProjectCardEventDeleted registers callbacks listening to events of type github.ProjectCardEvent and action 'deleted' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnProjectCardEventDeletedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been 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_card

func (*EventHandler) SetOnProjectCardEventEdited

func (g *EventHandler) SetOnProjectCardEventEdited(callbacks ...ProjectCardEventHandleFunc)

SetOnProjectCardEventEdited registers callbacks listening to events of type github.ProjectCardEvent and action 'edited' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnProjectCardEventEditedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been 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_card

func (*EventHandler) SetOnProjectCardEventMoved

func (g *EventHandler) SetOnProjectCardEventMoved(callbacks ...ProjectCardEventHandleFunc)

SetOnProjectCardEventMoved registers callbacks listening to events of type github.ProjectCardEvent and action 'moved' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnProjectCardEventMovedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been 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_card

func (*EventHandler) SetOnProjectColumnEventAny

func (g *EventHandler) SetOnProjectColumnEventAny(callbacks ...ProjectColumnEventHandleFunc)

SetOnProjectColumnEventAny registers callbacks listening to any events of type github.ProjectColumnEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnProjectColumnEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been 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_column

func (*EventHandler) SetOnProjectColumnEventCreated

func (g *EventHandler) SetOnProjectColumnEventCreated(callbacks ...ProjectColumnEventHandleFunc)

SetOnProjectColumnEventCreated registers callbacks listening to events of type github.ProjectColumnEvent and action 'created' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnProjectColumnEventCreatedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been 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_column

func (*EventHandler) SetOnProjectColumnEventDeleted

func (g *EventHandler) SetOnProjectColumnEventDeleted(callbacks ...ProjectColumnEventHandleFunc)

SetOnProjectColumnEventDeleted registers callbacks listening to events of type github.ProjectColumnEvent and action 'deleted' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnProjectColumnEventDeletedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been 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_column

func (*EventHandler) SetOnProjectColumnEventEdited

func (g *EventHandler) SetOnProjectColumnEventEdited(callbacks ...ProjectColumnEventHandleFunc)

SetOnProjectColumnEventEdited registers callbacks listening to events of type github.ProjectColumnEvent and action 'edited' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnProjectColumnEventEditedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been 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_column

func (*EventHandler) SetOnProjectColumnEventMoved

func (g *EventHandler) SetOnProjectColumnEventMoved(callbacks ...ProjectColumnEventHandleFunc)

SetOnProjectColumnEventMoved registers callbacks listening to events of type github.ProjectColumnEvent and action 'moved' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnProjectColumnEventMovedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been 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_column

func (*EventHandler) SetOnProjectEventAny

func (g *EventHandler) SetOnProjectEventAny(callbacks ...ProjectEventHandleFunc)

SetOnProjectEventAny registers callbacks listening to any events of type github.ProjectEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnProjectEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been 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

func (*EventHandler) SetOnProjectEventClosed

func (g *EventHandler) SetOnProjectEventClosed(callbacks ...ProjectEventHandleFunc)

SetOnProjectEventClosed registers callbacks listening to events of type github.ProjectEvent 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

func (*EventHandler) SetOnProjectEventCreated

func (g *EventHandler) SetOnProjectEventCreated(callbacks ...ProjectEventHandleFunc)

SetOnProjectEventCreated registers callbacks listening to events of type github.ProjectEvent 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

func (*EventHandler) SetOnProjectEventDeleted

func (g *EventHandler) SetOnProjectEventDeleted(callbacks ...ProjectEventHandleFunc)

SetOnProjectEventDeleted registers callbacks listening to events of type github.ProjectEvent 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

func (*EventHandler) SetOnProjectEventEdited

func (g *EventHandler) SetOnProjectEventEdited(callbacks ...ProjectEventHandleFunc)

SetOnProjectEventEdited registers callbacks listening to events of type github.ProjectEvent 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

func (*EventHandler) SetOnProjectEventReopened

func (g *EventHandler) SetOnProjectEventReopened(callbacks ...ProjectEventHandleFunc)

SetOnProjectEventReopened registers callbacks listening to events of type github.ProjectEvent 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

func (*EventHandler) SetOnPublicEventAny

func (g *EventHandler) SetOnPublicEventAny(callbacks ...PublicEventHandleFunc)

SetOnPublicEventAny registers callbacks listening to any events of type github.PublicEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnPublicEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#public

func (*EventHandler) SetOnPullRequestEventAny

func (g *EventHandler) SetOnPullRequestEventAny(callbacks ...PullRequestEventHandleFunc)

SetOnPullRequestEventAny registers callbacks listening to any events of type github.PullRequestEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnPullRequestEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request

func (*EventHandler) SetOnPullRequestEventAssigned

func (g *EventHandler) SetOnPullRequestEventAssigned(callbacks ...PullRequestEventHandleFunc)

SetOnPullRequestEventAssigned registers callbacks listening to events of type github.PullRequestEvent and action 'assigned' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnPullRequestEventAssignedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request

func (*EventHandler) SetOnPullRequestEventAutoMergeDisabled

func (g *EventHandler) SetOnPullRequestEventAutoMergeDisabled(callbacks ...PullRequestEventHandleFunc)

SetOnPullRequestEventAutoMergeDisabled registers callbacks listening to events of type github.PullRequestEvent and action 'auto_merge_disabled' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnPullRequestEventAutoMergeDisabledAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request

func (*EventHandler) SetOnPullRequestEventAutoMergeEnabled

func (g *EventHandler) SetOnPullRequestEventAutoMergeEnabled(callbacks ...PullRequestEventHandleFunc)

SetOnPullRequestEventAutoMergeEnabled registers callbacks listening to events of type github.PullRequestEvent and action 'auto_merge_enabled' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnPullRequestEventAutoMergeEnabledAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request

func (*EventHandler) SetOnPullRequestEventClosed

func (g *EventHandler) SetOnPullRequestEventClosed(callbacks ...PullRequestEventHandleFunc)

SetOnPullRequestEventClosed registers callbacks listening to events of type github.PullRequestEvent and action 'closed' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnPullRequestEventClosedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request

func (*EventHandler) SetOnPullRequestEventConvertedToDraft

func (g *EventHandler) SetOnPullRequestEventConvertedToDraft(callbacks ...PullRequestEventHandleFunc)

SetOnPullRequestEventConvertedToDraft registers callbacks listening to events of type github.PullRequestEvent and action 'converted_to_draft' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnPullRequestEventConvertedToDraftAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request

func (*EventHandler) SetOnPullRequestEventEdited

func (g *EventHandler) SetOnPullRequestEventEdited(callbacks ...PullRequestEventHandleFunc)

SetOnPullRequestEventEdited registers callbacks listening to events of type github.PullRequestEvent and action 'edited' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnPullRequestEventEditedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request

func (*EventHandler) SetOnPullRequestEventLabeled

func (g *EventHandler) SetOnPullRequestEventLabeled(callbacks ...PullRequestEventHandleFunc)

SetOnPullRequestEventLabeled registers callbacks listening to events of type github.PullRequestEvent and action 'labeled' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnPullRequestEventLabeledAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request

func (*EventHandler) SetOnPullRequestEventLocked

func (g *EventHandler) SetOnPullRequestEventLocked(callbacks ...PullRequestEventHandleFunc)

SetOnPullRequestEventLocked registers callbacks listening to events of type github.PullRequestEvent and action 'locked' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnPullRequestEventLockedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request

func (*EventHandler) SetOnPullRequestEventOpened

func (g *EventHandler) SetOnPullRequestEventOpened(callbacks ...PullRequestEventHandleFunc)

SetOnPullRequestEventOpened registers callbacks listening to events of type github.PullRequestEvent and action 'opened' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnPullRequestEventOpenedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request

func (*EventHandler) SetOnPullRequestEventReadyForReview

func (g *EventHandler) SetOnPullRequestEventReadyForReview(callbacks ...PullRequestEventHandleFunc)

SetOnPullRequestEventReadyForReview registers callbacks listening to events of type github.PullRequestEvent and action 'ready_for_review' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnPullRequestEventReadyForReviewAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request

func (*EventHandler) SetOnPullRequestEventReopened

func (g *EventHandler) SetOnPullRequestEventReopened(callbacks ...PullRequestEventHandleFunc)

SetOnPullRequestEventReopened registers callbacks listening to events of type github.PullRequestEvent and action 'reopened' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnPullRequestEventReopenedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request

func (*EventHandler) SetOnPullRequestEventReviewRequestRemoved

func (g *EventHandler) SetOnPullRequestEventReviewRequestRemoved(callbacks ...PullRequestEventHandleFunc)

SetOnPullRequestEventReviewRequestRemoved registers callbacks listening to events of type github.PullRequestEvent and action 'review_request_removed' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnPullRequestEventReviewRequestRemovedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request

func (*EventHandler) SetOnPullRequestEventReviewRequested

func (g *EventHandler) SetOnPullRequestEventReviewRequested(callbacks ...PullRequestEventHandleFunc)

SetOnPullRequestEventReviewRequested registers callbacks listening to events of type github.PullRequestEvent and action 'review_requested' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnPullRequestEventReviewRequestedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request

func (*EventHandler) SetOnPullRequestEventSynchronize

func (g *EventHandler) SetOnPullRequestEventSynchronize(callbacks ...PullRequestEventHandleFunc)

SetOnPullRequestEventSynchronize registers callbacks listening to events of type github.PullRequestEvent and action 'synchronize' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnPullRequestEventSynchronizeAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request

func (*EventHandler) SetOnPullRequestEventUnassigned

func (g *EventHandler) SetOnPullRequestEventUnassigned(callbacks ...PullRequestEventHandleFunc)

SetOnPullRequestEventUnassigned registers callbacks listening to events of type github.PullRequestEvent and action 'unassigned' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnPullRequestEventUnassignedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request

func (*EventHandler) SetOnPullRequestEventUnlabeled

func (g *EventHandler) SetOnPullRequestEventUnlabeled(callbacks ...PullRequestEventHandleFunc)

SetOnPullRequestEventUnlabeled registers callbacks listening to events of type github.PullRequestEvent and action 'unlabeled' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnPullRequestEventUnlabeledAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request

func (*EventHandler) SetOnPullRequestEventUnlocked

func (g *EventHandler) SetOnPullRequestEventUnlocked(callbacks ...PullRequestEventHandleFunc)

SetOnPullRequestEventUnlocked registers callbacks listening to events of type github.PullRequestEvent and action 'unlocked' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnPullRequestEventUnlockedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request

func (*EventHandler) SetOnPullRequestReviewCommentEventAny

func (g *EventHandler) SetOnPullRequestReviewCommentEventAny(callbacks ...PullRequestReviewCommentEventHandleFunc)

SetOnPullRequestReviewCommentEventAny registers callbacks listening to any events of type github.PullRequestReviewCommentEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnPullRequestReviewCommentEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request_review_comment

func (*EventHandler) SetOnPullRequestReviewCommentEventCreated

func (g *EventHandler) SetOnPullRequestReviewCommentEventCreated(callbacks ...PullRequestReviewCommentEventHandleFunc)

SetOnPullRequestReviewCommentEventCreated registers callbacks listening to events of type github.PullRequestReviewCommentEvent and action 'created' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnPullRequestReviewCommentEventCreatedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request_review_comment

func (*EventHandler) SetOnPullRequestReviewCommentEventDeleted

func (g *EventHandler) SetOnPullRequestReviewCommentEventDeleted(callbacks ...PullRequestReviewCommentEventHandleFunc)

SetOnPullRequestReviewCommentEventDeleted registers callbacks listening to events of type github.PullRequestReviewCommentEvent and action 'deleted' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnPullRequestReviewCommentEventDeletedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request_review_comment

func (*EventHandler) SetOnPullRequestReviewCommentEventEdited

func (g *EventHandler) SetOnPullRequestReviewCommentEventEdited(callbacks ...PullRequestReviewCommentEventHandleFunc)

SetOnPullRequestReviewCommentEventEdited registers callbacks listening to events of type github.PullRequestReviewCommentEvent and action 'edited' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnPullRequestReviewCommentEventEditedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request_review_comment

func (*EventHandler) SetOnPullRequestReviewEventAny

func (g *EventHandler) SetOnPullRequestReviewEventAny(callbacks ...PullRequestReviewEventHandleFunc)

SetOnPullRequestReviewEventAny registers callbacks listening to any events of type github.PullRequestReviewEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnPullRequestReviewEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request_review

func (*EventHandler) SetOnPullRequestReviewEventDismissed

func (g *EventHandler) SetOnPullRequestReviewEventDismissed(callbacks ...PullRequestReviewEventHandleFunc)

SetOnPullRequestReviewEventDismissed registers callbacks listening to events of type github.PullRequestReviewEvent and action 'dismissed' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnPullRequestReviewEventDismissedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request_review

func (*EventHandler) SetOnPullRequestReviewEventEdited

func (g *EventHandler) SetOnPullRequestReviewEventEdited(callbacks ...PullRequestReviewEventHandleFunc)

SetOnPullRequestReviewEventEdited registers callbacks listening to events of type github.PullRequestReviewEvent and action 'edited' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnPullRequestReviewEventEditedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request_review

func (*EventHandler) SetOnPullRequestReviewEventSubmitted

func (g *EventHandler) SetOnPullRequestReviewEventSubmitted(callbacks ...PullRequestReviewEventHandleFunc)

SetOnPullRequestReviewEventSubmitted registers callbacks listening to events of type github.PullRequestReviewEvent and action 'submitted' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnPullRequestReviewEventSubmittedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request_review

func (*EventHandler) SetOnPushEventAny

func (g *EventHandler) SetOnPushEventAny(callbacks ...PushEventHandleFunc)

SetOnPushEventAny registers callbacks listening to any events of type github.PushEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnPushEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#push

func (*EventHandler) SetOnReleaseEventAny

func (g *EventHandler) SetOnReleaseEventAny(callbacks ...ReleaseEventHandleFunc)

SetOnReleaseEventAny registers callbacks listening to any events of type github.ReleaseEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnReleaseEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#release

func (*EventHandler) SetOnReleaseEventCreated

func (g *EventHandler) SetOnReleaseEventCreated(callbacks ...ReleaseEventHandleFunc)

SetOnReleaseEventCreated registers callbacks listening to events of type github.ReleaseEvent and action 'created' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnReleaseEventCreatedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#release

func (*EventHandler) SetOnReleaseEventDeleted

func (g *EventHandler) SetOnReleaseEventDeleted(callbacks ...ReleaseEventHandleFunc)

SetOnReleaseEventDeleted registers callbacks listening to events of type github.ReleaseEvent and action 'deleted' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnReleaseEventDeletedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#release

func (*EventHandler) SetOnReleaseEventEdited

func (g *EventHandler) SetOnReleaseEventEdited(callbacks ...ReleaseEventHandleFunc)

SetOnReleaseEventEdited registers callbacks listening to events of type github.ReleaseEvent and action 'edited' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnReleaseEventEditedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#release

func (*EventHandler) SetOnReleaseEventPreReleased

func (g *EventHandler) SetOnReleaseEventPreReleased(callbacks ...ReleaseEventHandleFunc)

SetOnReleaseEventPreReleased registers callbacks listening to events of type github.ReleaseEvent and action 'prereleased' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnReleaseEventPreReleasedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#release

func (*EventHandler) SetOnReleaseEventPublished

func (g *EventHandler) SetOnReleaseEventPublished(callbacks ...ReleaseEventHandleFunc)

SetOnReleaseEventPublished registers callbacks listening to events of type github.ReleaseEvent and action 'published' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnReleaseEventPublishedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#release

func (*EventHandler) SetOnReleaseEventReleased

func (g *EventHandler) SetOnReleaseEventReleased(callbacks ...ReleaseEventHandleFunc)

SetOnReleaseEventReleased registers callbacks listening to events of type github.ReleaseEvent and action 'released' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnReleaseEventReleasedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#release

func (*EventHandler) SetOnReleaseEventUnpublished

func (g *EventHandler) SetOnReleaseEventUnpublished(callbacks ...ReleaseEventHandleFunc)

SetOnReleaseEventUnpublished registers callbacks listening to events of type github.ReleaseEvent and action 'unpublished' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnReleaseEventUnpublishedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#release

func (*EventHandler) SetOnRepositoryDispatchEventAny

func (g *EventHandler) SetOnRepositoryDispatchEventAny(callbacks ...RepositoryDispatchEventHandleFunc)

SetOnRepositoryDispatchEventAny registers callbacks listening to any events of type github.RepositoryDispatchEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnRepositoryDispatchEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#repository_dispatch

func (*EventHandler) SetOnRepositoryEventAny

func (g *EventHandler) SetOnRepositoryEventAny(callbacks ...RepositoryEventHandleFunc)

SetOnRepositoryEventAny registers callbacks listening to any events of type github.RepositoryEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnRepositoryEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#repository

func (*EventHandler) SetOnRepositoryEventArchived

func (g *EventHandler) SetOnRepositoryEventArchived(callbacks ...RepositoryEventHandleFunc)

SetOnRepositoryEventArchived registers callbacks listening to events of type github.RepositoryEvent and action 'archived' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnRepositoryEventArchivedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#repository

func (*EventHandler) SetOnRepositoryEventCreated added in v1.1.1

func (g *EventHandler) SetOnRepositoryEventCreated(callbacks ...RepositoryEventHandleFunc)

SetOnRepositoryEventCreated registers callbacks listening to events of type github.RepositoryEvent and action 'created' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnRepositoryEventCreatedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#repository

func (*EventHandler) SetOnRepositoryEventDeleted

func (g *EventHandler) SetOnRepositoryEventDeleted(callbacks ...RepositoryEventHandleFunc)

SetOnRepositoryEventDeleted registers callbacks listening to events of type github.RepositoryEvent and action 'deleted' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnRepositoryEventDeletedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#repository

func (*EventHandler) SetOnRepositoryEventEdited

func (g *EventHandler) SetOnRepositoryEventEdited(callbacks ...RepositoryEventHandleFunc)

SetOnRepositoryEventEdited registers callbacks listening to events of type github.RepositoryEvent and action 'edited' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnRepositoryEventEditedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#repository

func (*EventHandler) SetOnRepositoryEventPrivatized

func (g *EventHandler) SetOnRepositoryEventPrivatized(callbacks ...RepositoryEventHandleFunc)

SetOnRepositoryEventPrivatized registers callbacks listening to events of type github.RepositoryEvent and action 'privatized' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnRepositoryEventPrivatizedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#repository

func (*EventHandler) SetOnRepositoryEventPublicized

func (g *EventHandler) SetOnRepositoryEventPublicized(callbacks ...RepositoryEventHandleFunc)

SetOnRepositoryEventPublicized registers callbacks listening to events of type github.RepositoryEvent and action 'publicized' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnRepositoryEventPublicizedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#repository

func (*EventHandler) SetOnRepositoryEventRenamed

func (g *EventHandler) SetOnRepositoryEventRenamed(callbacks ...RepositoryEventHandleFunc)

SetOnRepositoryEventRenamed registers callbacks listening to events of type github.RepositoryEvent and action 'renamed' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnRepositoryEventRenamedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#repository

func (*EventHandler) SetOnRepositoryEventTransferred

func (g *EventHandler) SetOnRepositoryEventTransferred(callbacks ...RepositoryEventHandleFunc)

SetOnRepositoryEventTransferred registers callbacks listening to events of type github.RepositoryEvent and action 'transferred' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnRepositoryEventTransferredAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#repository

func (*EventHandler) SetOnRepositoryEventUnarchived

func (g *EventHandler) SetOnRepositoryEventUnarchived(callbacks ...RepositoryEventHandleFunc)

SetOnRepositoryEventUnarchived registers callbacks listening to events of type github.RepositoryEvent and action 'unarchived' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnRepositoryEventUnarchivedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#repository

func (*EventHandler) SetOnRepositoryVulnerabilityAlertEventAny

func (g *EventHandler) SetOnRepositoryVulnerabilityAlertEventAny(callbacks ...RepositoryVulnerabilityAlertEventHandleFunc)

SetOnRepositoryVulnerabilityAlertEventAny registers callbacks listening to any events of type github.RepositoryVulnerabilityAlertEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnRepositoryVulnerabilityAlertEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#repository_vulnerability_alert

func (*EventHandler) SetOnRepositoryVulnerabilityAlertEventCreate

func (g *EventHandler) SetOnRepositoryVulnerabilityAlertEventCreate(callbacks ...RepositoryVulnerabilityAlertEventHandleFunc)

SetOnRepositoryVulnerabilityAlertEventCreate registers callbacks listening to events of type github.RepositoryVulnerabilityAlertEvent and action 'create' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnRepositoryVulnerabilityAlertEventCreateAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#repository_vulnerability_alert

func (*EventHandler) SetOnRepositoryVulnerabilityAlertEventDismiss

func (g *EventHandler) SetOnRepositoryVulnerabilityAlertEventDismiss(callbacks ...RepositoryVulnerabilityAlertEventHandleFunc)

SetOnRepositoryVulnerabilityAlertEventDismiss registers callbacks listening to events of type github.RepositoryVulnerabilityAlertEvent and action 'dismiss' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnRepositoryVulnerabilityAlertEventDismissAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#repository_vulnerability_alert

func (*EventHandler) SetOnRepositoryVulnerabilityAlertEventResolve

func (g *EventHandler) SetOnRepositoryVulnerabilityAlertEventResolve(callbacks ...RepositoryVulnerabilityAlertEventHandleFunc)

SetOnRepositoryVulnerabilityAlertEventResolve registers callbacks listening to events of type github.RepositoryVulnerabilityAlertEvent and action 'resolve' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnRepositoryVulnerabilityAlertEventResolveAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#repository_vulnerability_alert

func (*EventHandler) SetOnStarEventAny

func (g *EventHandler) SetOnStarEventAny(callbacks ...StarEventHandleFunc)

SetOnStarEventAny registers callbacks listening to any events of type github.StarEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnStarEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#star

func (*EventHandler) SetOnStarEventCreated

func (g *EventHandler) SetOnStarEventCreated(callbacks ...StarEventHandleFunc)

SetOnStarEventCreated registers callbacks listening to events of type github.StarEvent and action 'created' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnStarEventCreatedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#star

func (*EventHandler) SetOnStarEventDeleted

func (g *EventHandler) SetOnStarEventDeleted(callbacks ...StarEventHandleFunc)

SetOnStarEventDeleted registers callbacks listening to events of type github.StarEvent and action 'deleted' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnStarEventDeletedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#star

func (*EventHandler) SetOnStatusEventAny

func (g *EventHandler) SetOnStatusEventAny(callbacks ...StatusEventHandleFunc)

SetOnStatusEventAny registers callbacks listening to any events of type github.StatusEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnStatusEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#status

func (*EventHandler) SetOnTeamAddEventAny

func (g *EventHandler) SetOnTeamAddEventAny(callbacks ...TeamAddEventHandleFunc)

SetOnTeamAddEventAny registers callbacks listening to any events of type github.TeamAddEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnTeamAddEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#team_add

func (*EventHandler) SetOnTeamEventAddedToRepository

func (g *EventHandler) SetOnTeamEventAddedToRepository(callbacks ...TeamEventHandleFunc)

SetOnTeamEventAddedToRepository registers callbacks listening to events of type github.TeamEvent and action 'added_to_repository' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnTeamEventAddedToRepositoryAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#team

func (*EventHandler) SetOnTeamEventAny

func (g *EventHandler) SetOnTeamEventAny(callbacks ...TeamEventHandleFunc)

SetOnTeamEventAny registers callbacks listening to any events of type github.TeamEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnTeamEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#team

func (*EventHandler) SetOnTeamEventCreated

func (g *EventHandler) SetOnTeamEventCreated(callbacks ...TeamEventHandleFunc)

SetOnTeamEventCreated registers callbacks listening to events of type github.TeamEvent and action 'created' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnTeamEventCreatedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#team

func (*EventHandler) SetOnTeamEventDeleted

func (g *EventHandler) SetOnTeamEventDeleted(callbacks ...TeamEventHandleFunc)

SetOnTeamEventDeleted registers callbacks listening to events of type github.TeamEvent and action 'deleted' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnTeamEventDeletedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#team

func (*EventHandler) SetOnTeamEventEdited

func (g *EventHandler) SetOnTeamEventEdited(callbacks ...TeamEventHandleFunc)

SetOnTeamEventEdited registers callbacks listening to events of type github.TeamEvent and action 'edited' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnTeamEventEditedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#team

func (*EventHandler) SetOnTeamEventRemovedFromRepository

func (g *EventHandler) SetOnTeamEventRemovedFromRepository(callbacks ...TeamEventHandleFunc)

SetOnTeamEventRemovedFromRepository registers callbacks listening to events of type github.TeamEvent and action 'removed_from_repository' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnTeamEventRemovedFromRepositoryAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#team

func (*EventHandler) SetOnWatchEventAny

func (g *EventHandler) SetOnWatchEventAny(callbacks ...WatchEventHandleFunc)

SetOnWatchEventAny registers callbacks listening to any events of type github.WatchEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnWatchEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#watch

func (*EventHandler) SetOnWorkflowDispatchEventAny

func (g *EventHandler) SetOnWorkflowDispatchEventAny(callbacks ...WorkflowDispatchEventHandleFunc)

SetOnWorkflowDispatchEventAny registers callbacks listening to any events of type github.WorkflowDispatchEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnWorkflowDispatchEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow_dispatch

func (*EventHandler) SetOnWorkflowJobEventAny

func (g *EventHandler) SetOnWorkflowJobEventAny(callbacks ...WorkflowJobEventHandleFunc)

SetOnWorkflowJobEventAny registers callbacks listening to any events of type github.WorkflowJobEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnWorkflowJobEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow_job

func (*EventHandler) SetOnWorkflowJobEventCompleted

func (g *EventHandler) SetOnWorkflowJobEventCompleted(callbacks ...WorkflowJobEventHandleFunc)

SetOnWorkflowJobEventCompleted registers callbacks listening to events of type github.WorkflowJobEvent and action 'completed' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnWorkflowJobEventCompletedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow_job

func (*EventHandler) SetOnWorkflowJobEventInProgress

func (g *EventHandler) SetOnWorkflowJobEventInProgress(callbacks ...WorkflowJobEventHandleFunc)

SetOnWorkflowJobEventInProgress registers callbacks listening to events of type github.WorkflowJobEvent and action 'in_progress' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnWorkflowJobEventInProgressAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow_job

func (*EventHandler) SetOnWorkflowJobEventQueued

func (g *EventHandler) SetOnWorkflowJobEventQueued(callbacks ...WorkflowJobEventHandleFunc)

SetOnWorkflowJobEventQueued registers callbacks listening to events of type github.WorkflowJobEvent and action 'queued' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnWorkflowJobEventQueuedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow_job

func (*EventHandler) SetOnWorkflowRunEventAny

func (g *EventHandler) SetOnWorkflowRunEventAny(callbacks ...WorkflowRunEventHandleFunc)

SetOnWorkflowRunEventAny registers callbacks listening to any events of type github.WorkflowRunEvent and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnWorkflowRunEventAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow_run

func (*EventHandler) SetOnWorkflowRunEventCompleted

func (g *EventHandler) SetOnWorkflowRunEventCompleted(callbacks ...WorkflowRunEventHandleFunc)

SetOnWorkflowRunEventCompleted registers callbacks listening to events of type github.WorkflowRunEvent and action 'completed' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnWorkflowRunEventCompletedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow_run

func (*EventHandler) SetOnWorkflowRunEventRequested

func (g *EventHandler) SetOnWorkflowRunEventRequested(callbacks ...WorkflowRunEventHandleFunc)

SetOnWorkflowRunEventRequested registers callbacks listening to events of type github.WorkflowRunEvent and action 'requested' and overwrites already registered callbacks.

This function overwrites all previously registered callbacks. If already registered callbacks are not to be overwritten, OnWorkflowRunEventRequestedAny must be used.

Callbacks are executed in parallel. This function blocks until all callbacks executed in parallel have returned, then returns the first non-nil error (if any) from them. If OnError callbacks have been set, they will be called when an error occurs.

Reference: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow_run

func (*EventHandler) StarEvent

func (g *EventHandler) StarEvent(deliveryID string, eventName string, event *github.StarEvent) error

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

func (g *EventHandler) StatusEvent(deliveryID string, eventName string, event *github.StatusEvent) error

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

func (g *EventHandler) TeamAddEvent(deliveryID string, eventName string, event *github.TeamAddEvent) error

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

func (g *EventHandler) TeamEvent(deliveryID string, eventName string, event *github.TeamEvent) error

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

func (g *EventHandler) WatchEvent(deliveryID string, eventName string, event *github.WatchEvent) error

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

func (g *EventHandler) WorkflowDispatchEvent(deliveryID string, eventName string, event *github.WorkflowDispatchEvent) error

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

func (g *EventHandler) WorkflowJobEvent(deliveryID string, eventName string, event *github.WorkflowJobEvent) error

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

func (g *EventHandler) WorkflowRunEvent(deliveryID string, eventName string, event *github.WorkflowRunEvent) error

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

type ForkEventHandleFunc func(deliveryID string, eventName string, event *github.ForkEvent) error

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

type GitHubAppAuthorizationEventHandleFunc func(deliveryID string, eventName string, event *github.GitHubAppAuthorizationEvent) error

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

type GollumEventHandleFunc func(deliveryID string, eventName string, event *github.GollumEvent) error

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

type InstallationEventHandleFunc func(deliveryID string, eventName string, event *github.InstallationEvent) error

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

type InstallationRepositoriesEventHandleFunc func(deliveryID string, eventName string, event *github.InstallationRepositoriesEvent) error

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

type IssueCommentEventHandleFunc func(deliveryID string, eventName string, event *github.IssueCommentEvent) error

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

type IssuesEventHandleFunc func(deliveryID string, eventName string, event *github.IssuesEvent) error

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

type LabelEventHandleFunc func(deliveryID string, eventName string, event *github.LabelEvent) error

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

type MarketplacePurchaseEventHandleFunc func(deliveryID string, eventName string, event *github.MarketplacePurchaseEvent) error

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

type MemberEventHandleFunc func(deliveryID string, eventName string, event *github.MemberEvent) error

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

type MembershipEventHandleFunc func(deliveryID string, eventName string, event *github.MembershipEvent) error

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 MetaEventHandleFunc

type MetaEventHandleFunc func(deliveryID string, eventName string, event *github.MetaEvent) error

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

type MilestoneEventHandleFunc func(deliveryID string, eventName string, event *github.MilestoneEvent) error

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

type OrgBlockEventHandleFunc func(deliveryID string, eventName string, event *github.OrgBlockEvent) error

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

type OrganizationEventHandleFunc func(deliveryID string, eventName string, event *github.OrganizationEvent) error

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

type PackageEventHandleFunc func(deliveryID string, eventName string, event *github.PackageEvent) error

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

type PageBuildEventHandleFunc func(deliveryID string, eventName string, event *github.PageBuildEvent) error

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

type PingEventHandleFunc func(deliveryID string, eventName string, event *github.PingEvent) error

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 ProjectCardEventHandleFunc

type ProjectCardEventHandleFunc func(deliveryID string, eventName string, event *github.ProjectCardEvent) error

ProjectCardEventHandleFunc represents a callback function triggered on github.ProjectCardEvent's. 'deliveryID' (type: string) is the unique webhook delivery ID. 'eventName' (type: string) is the name of the event. 'event' (type: *github.ProjectCardEvent) is the webhook payload.

type ProjectColumnEventHandleFunc

type ProjectColumnEventHandleFunc func(deliveryID string, eventName string, event *github.ProjectColumnEvent) error

ProjectColumnEventHandleFunc represents a callback function triggered on github.ProjectColumnEvent's. 'deliveryID' (type: string) is the unique webhook delivery ID. 'eventName' (type: string) is the name of the event. 'event' (type: *github.ProjectColumnEvent) is the webhook payload.

type ProjectEventHandleFunc

type ProjectEventHandleFunc func(deliveryID string, eventName string, event *github.ProjectEvent) error

ProjectEventHandleFunc represents a callback function triggered on github.ProjectEvent's. 'deliveryID' (type: string) is the unique webhook delivery ID. 'eventName' (type: string) is the name of the event. 'event' (type: *github.ProjectEvent) is the webhook payload.

type PublicEventHandleFunc

type PublicEventHandleFunc func(deliveryID string, eventName string, event *github.PublicEvent) error

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

type PullRequestEventHandleFunc func(deliveryID string, eventName string, event *github.PullRequestEvent) error

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

type PullRequestReviewCommentEventHandleFunc func(deliveryID string, eventName string, event *github.PullRequestReviewCommentEvent) error

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

type PullRequestReviewEventHandleFunc func(deliveryID string, eventName string, event *github.PullRequestReviewEvent) error

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

type PushEventHandleFunc func(deliveryID string, eventName string, event *github.PushEvent) error

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

type ReleaseEventHandleFunc func(deliveryID string, eventName string, event *github.ReleaseEvent) error

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

type RepositoryDispatchEventHandleFunc func(deliveryID string, eventName string, event *github.RepositoryDispatchEvent) error

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

type RepositoryEventHandleFunc func(deliveryID string, eventName string, event *github.RepositoryEvent) error

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 RepositoryVulnerabilityAlertEventHandleFunc

type RepositoryVulnerabilityAlertEventHandleFunc func(deliveryID string, eventName string, event *github.RepositoryVulnerabilityAlertEvent) error

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

type StarEventHandleFunc func(deliveryID string, eventName string, event *github.StarEvent) error

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

type StatusEventHandleFunc func(deliveryID string, eventName string, event *github.StatusEvent) error

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

type TeamAddEventHandleFunc func(deliveryID string, eventName string, event *github.TeamAddEvent) error

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

type TeamEventHandleFunc func(deliveryID string, eventName string, event *github.TeamEvent) error

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

type WatchEventHandleFunc func(deliveryID string, eventName string, event *github.WatchEvent) error

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

type WorkflowDispatchEventHandleFunc func(deliveryID string, eventName string, event *github.WorkflowDispatchEvent) error

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

type WorkflowJobEventHandleFunc func(deliveryID string, eventName string, event *github.WorkflowJobEvent) error

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

type WorkflowRunEventHandleFunc func(deliveryID string, eventName string, event *github.WorkflowRunEvent) error

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL