Options
All
  • Public
  • Public/Protected
  • All
Menu

Module octokit/octokit-webhooks-transform

Index

Functions

webhookTransform

  • webhookTransform(state: State, event: BaseWebhookEvent<"check_run"> | (BaseWebhookEvent<"check_run"> & {}) | (BaseWebhookEvent<"check_run"> & {}) | (BaseWebhookEvent<"check_run"> & {}) | (BaseWebhookEvent<"check_run"> & {}) | BaseWebhookEvent<"check_suite"> | (BaseWebhookEvent<"check_suite"> & {}) | (BaseWebhookEvent<"check_suite"> & {}) | (BaseWebhookEvent<"check_suite"> & {}) | BaseWebhookEvent<"code_scanning_alert"> | (BaseWebhookEvent<"code_scanning_alert"> & {}) | (BaseWebhookEvent<"code_scanning_alert"> & {}) | (BaseWebhookEvent<"code_scanning_alert"> & {}) | (BaseWebhookEvent<"code_scanning_alert"> & {}) | (BaseWebhookEvent<"code_scanning_alert"> & {}) | (BaseWebhookEvent<"code_scanning_alert"> & {}) | BaseWebhookEvent<"commit_comment"> | (BaseWebhookEvent<"commit_comment"> & {}) | BaseWebhookEvent<"content_reference"> | (BaseWebhookEvent<"content_reference"> & {}) | BaseWebhookEvent<"create"> | BaseWebhookEvent<"delete"> | BaseWebhookEvent<"deploy_key"> | (BaseWebhookEvent<"deploy_key"> & {}) | (BaseWebhookEvent<"deploy_key"> & {}) | BaseWebhookEvent<"deployment"> | (BaseWebhookEvent<"deployment"> & {}) | BaseWebhookEvent<"deployment_status"> | (BaseWebhookEvent<"deployment_status"> & {}) | BaseWebhookEvent<"discussion"> | (BaseWebhookEvent<"discussion"> & {}) | (BaseWebhookEvent<"discussion"> & {}) | (BaseWebhookEvent<"discussion"> & {}) | (BaseWebhookEvent<"discussion"> & {}) | (BaseWebhookEvent<"discussion"> & {}) | (BaseWebhookEvent<"discussion"> & {}) | (BaseWebhookEvent<"discussion"> & {}) | (BaseWebhookEvent<"discussion"> & {}) | (BaseWebhookEvent<"discussion"> & {}) | (BaseWebhookEvent<"discussion"> & {}) | (BaseWebhookEvent<"discussion"> & {}) | BaseWebhookEvent<"discussion_comment"> | (BaseWebhookEvent<"discussion_comment"> & {}) | (BaseWebhookEvent<"discussion_comment"> & {}) | (BaseWebhookEvent<"discussion_comment"> & {}) | BaseWebhookEvent<"fork"> | BaseWebhookEvent<"github_app_authorization"> | (BaseWebhookEvent<"github_app_authorization"> & {}) | BaseWebhookEvent<"gollum"> | BaseWebhookEvent<"installation"> | (BaseWebhookEvent<"installation"> & {}) | (BaseWebhookEvent<"installation"> & {}) | (BaseWebhookEvent<"installation"> & {}) | (BaseWebhookEvent<"installation"> & {}) | (BaseWebhookEvent<"installation"> & {}) | BaseWebhookEvent<"installation_repositories"> | (BaseWebhookEvent<"installation_repositories"> & {}) | (BaseWebhookEvent<"installation_repositories"> & {}) | BaseWebhookEvent<"issue_comment"> | (BaseWebhookEvent<"issue_comment"> & {}) | (BaseWebhookEvent<"issue_comment"> & {}) | (BaseWebhookEvent<"issue_comment"> & {}) | BaseWebhookEvent<"issues"> | (BaseWebhookEvent<"issues"> & {}) | (BaseWebhookEvent<"issues"> & {}) | (BaseWebhookEvent<"issues"> & {}) | (BaseWebhookEvent<"issues"> & {}) | (BaseWebhookEvent<"issues"> & {}) | (BaseWebhookEvent<"issues"> & {}) | (BaseWebhookEvent<"issues"> & {}) | (BaseWebhookEvent<"issues"> & {}) | (BaseWebhookEvent<"issues"> & {}) | (BaseWebhookEvent<"issues"> & {}) | (BaseWebhookEvent<"issues"> & {}) | (BaseWebhookEvent<"issues"> & {}) | (BaseWebhookEvent<"issues"> & {}) | (BaseWebhookEvent<"issues"> & {}) | (BaseWebhookEvent<"issues"> & {}) | (BaseWebhookEvent<"issues"> & {}) | BaseWebhookEvent<"label"> | (BaseWebhookEvent<"label"> & {}) | (BaseWebhookEvent<"label"> & {}) | (BaseWebhookEvent<"label"> & {}) | BaseWebhookEvent<"marketplace_purchase"> | (BaseWebhookEvent<"marketplace_purchase"> & {}) | (BaseWebhookEvent<"marketplace_purchase"> & {}) | (BaseWebhookEvent<"marketplace_purchase"> & {}) | (BaseWebhookEvent<"marketplace_purchase"> & {}) | (BaseWebhookEvent<"marketplace_purchase"> & {}) | BaseWebhookEvent<"member"> | (BaseWebhookEvent<"member"> & {}) | (BaseWebhookEvent<"member"> & {}) | (BaseWebhookEvent<"member"> & {}) | BaseWebhookEvent<"membership"> | (BaseWebhookEvent<"membership"> & {}) | (BaseWebhookEvent<"membership"> & {}) | BaseWebhookEvent<"meta"> | (BaseWebhookEvent<"meta"> & {}) | BaseWebhookEvent<"milestone"> | (BaseWebhookEvent<"milestone"> & {}) | (BaseWebhookEvent<"milestone"> & {}) | (BaseWebhookEvent<"milestone"> & {}) | (BaseWebhookEvent<"milestone"> & {}) | (BaseWebhookEvent<"milestone"> & {}) | BaseWebhookEvent<"org_block"> | (BaseWebhookEvent<"org_block"> & {}) | (BaseWebhookEvent<"org_block"> & {}) | BaseWebhookEvent<"organization"> | (BaseWebhookEvent<"organization"> & {}) | (BaseWebhookEvent<"organization"> & {}) | (BaseWebhookEvent<"organization"> & {}) | (BaseWebhookEvent<"organization"> & {}) | (BaseWebhookEvent<"organization"> & {}) | BaseWebhookEvent<"package"> | (BaseWebhookEvent<"package"> & {}) | (BaseWebhookEvent<"package"> & {}) | BaseWebhookEvent<"page_build"> | BaseWebhookEvent<"ping"> | BaseWebhookEvent<"project"> | (BaseWebhookEvent<"project"> & {}) | (BaseWebhookEvent<"project"> & {}) | (BaseWebhookEvent<"project"> & {}) | (BaseWebhookEvent<"project"> & {}) | (BaseWebhookEvent<"project"> & {}) | BaseWebhookEvent<"project_card"> | (BaseWebhookEvent<"project_card"> & {}) | (BaseWebhookEvent<"project_card"> & {}) | (BaseWebhookEvent<"project_card"> & {}) | (BaseWebhookEvent<"project_card"> & {}) | (BaseWebhookEvent<"project_card"> & {}) | BaseWebhookEvent<"project_column"> | (BaseWebhookEvent<"project_column"> & {}) | (BaseWebhookEvent<"project_column"> & {}) | (BaseWebhookEvent<"project_column"> & {}) | (BaseWebhookEvent<"project_column"> & {}) | BaseWebhookEvent<"public"> | BaseWebhookEvent<"pull_request"> | (BaseWebhookEvent<"pull_request"> & {}) | (BaseWebhookEvent<"pull_request"> & {}) | (BaseWebhookEvent<"pull_request"> & {}) | (BaseWebhookEvent<"pull_request"> & {}) | (BaseWebhookEvent<"pull_request"> & {}) | (BaseWebhookEvent<"pull_request"> & {}) | (BaseWebhookEvent<"pull_request"> & {}) | (BaseWebhookEvent<"pull_request"> & {}) | (BaseWebhookEvent<"pull_request"> & {}) | (BaseWebhookEvent<"pull_request"> & {}) | (BaseWebhookEvent<"pull_request"> & {}) | (BaseWebhookEvent<"pull_request"> & {}) | (BaseWebhookEvent<"pull_request"> & {}) | (BaseWebhookEvent<"pull_request"> & {}) | (BaseWebhookEvent<"pull_request"> & {}) | (BaseWebhookEvent<"pull_request"> & {}) | (BaseWebhookEvent<"pull_request"> & {}) | BaseWebhookEvent<"pull_request_review"> | (BaseWebhookEvent<"pull_request_review"> & {}) | (BaseWebhookEvent<"pull_request_review"> & {}) | (BaseWebhookEvent<"pull_request_review"> & {}) | BaseWebhookEvent<"pull_request_review_comment"> | (BaseWebhookEvent<"pull_request_review_comment"> & {}) | (BaseWebhookEvent<"pull_request_review_comment"> & {}) | (BaseWebhookEvent<"pull_request_review_comment"> & {}) | BaseWebhookEvent<"push"> | BaseWebhookEvent<"release"> | (BaseWebhookEvent<"release"> & {}) | (BaseWebhookEvent<"release"> & {}) | (BaseWebhookEvent<"release"> & {}) | (BaseWebhookEvent<"release"> & {}) | (BaseWebhookEvent<"release"> & {}) | (BaseWebhookEvent<"release"> & {}) | (BaseWebhookEvent<"release"> & {}) | BaseWebhookEvent<"repository"> | (BaseWebhookEvent<"repository"> & {}) | (BaseWebhookEvent<"repository"> & {}) | (BaseWebhookEvent<"repository"> & {}) | (BaseWebhookEvent<"repository"> & {}) | (BaseWebhookEvent<"repository"> & {}) | (BaseWebhookEvent<"repository"> & {}) | (BaseWebhookEvent<"repository"> & {}) | (BaseWebhookEvent<"repository"> & {}) | (BaseWebhookEvent<"repository"> & {}) | BaseWebhookEvent<"repository_dispatch"> | (BaseWebhookEvent<"repository_dispatch"> & {}) | BaseWebhookEvent<"repository_import"> | BaseWebhookEvent<"repository_vulnerability_alert"> | (BaseWebhookEvent<"repository_vulnerability_alert"> & {}) | (BaseWebhookEvent<"repository_vulnerability_alert"> & {}) | (BaseWebhookEvent<"repository_vulnerability_alert"> & {}) | BaseWebhookEvent<"secret_scanning_alert"> | (BaseWebhookEvent<"secret_scanning_alert"> & {}) | (BaseWebhookEvent<"secret_scanning_alert"> & {}) | (BaseWebhookEvent<"secret_scanning_alert"> & {}) | BaseWebhookEvent<"security_advisory"> | (BaseWebhookEvent<"security_advisory"> & {}) | (BaseWebhookEvent<"security_advisory"> & {}) | (BaseWebhookEvent<"security_advisory"> & {}) | (BaseWebhookEvent<"security_advisory"> & {}) | BaseWebhookEvent<"sponsorship"> | (BaseWebhookEvent<"sponsorship"> & {}) | (BaseWebhookEvent<"sponsorship"> & {}) | (BaseWebhookEvent<"sponsorship"> & {}) | (BaseWebhookEvent<"sponsorship"> & {}) | (BaseWebhookEvent<"sponsorship"> & {}) | (BaseWebhookEvent<"sponsorship"> & {}) | BaseWebhookEvent<"star"> | (BaseWebhookEvent<"star"> & {}) | (BaseWebhookEvent<"star"> & {}) | BaseWebhookEvent<"status"> | BaseWebhookEvent<"team"> | (BaseWebhookEvent<"team"> & {}) | (BaseWebhookEvent<"team"> & {}) | (BaseWebhookEvent<"team"> & {}) | (BaseWebhookEvent<"team"> & {}) | (BaseWebhookEvent<"team"> & {}) | BaseWebhookEvent<"team_add"> | BaseWebhookEvent<"watch"> | (BaseWebhookEvent<"watch"> & {}) | BaseWebhookEvent<"workflow_dispatch"> | BaseWebhookEvent<"workflow_run"> | (BaseWebhookEvent<"workflow_run"> & {}) | (BaseWebhookEvent<"workflow_run"> & {})): Promise<Context<"check_run" | "check_suite" | "code_scanning_alert" | "commit_comment" | "content_reference" | "create" | "delete" | "deploy_key" | "deployment" | "deployment_status" | "discussion" | "discussion_comment" | "fork" | "github_app_authorization" | "gollum" | "installation" | "installation_repositories" | "issue_comment" | "issues" | "label" | "marketplace_purchase" | "member" | "membership" | "meta" | "milestone" | "org_block" | "organization" | "package" | "page_build" | "ping" | "project" | "project_card" | "project_column" | "public" | "pull_request" | "pull_request_review" | "pull_request_review_comment" | "push" | "release" | "repository" | "repository_dispatch" | "repository_import" | "repository_vulnerability_alert" | "secret_scanning_alert" | "security_advisory" | "sponsorship" | "star" | "status" | "team" | "team_add" | "watch" | "workflow_dispatch" | "workflow_run">>
  • Probot's transform option, which extends the event object that is passed to webhook event handlers by @octokit/webhooks

    see

    https://github.com/octokit/webhooks.js/#constructor

    Parameters

    • state: State
    • event: BaseWebhookEvent<"check_run"> | (BaseWebhookEvent<"check_run"> & {}) | (BaseWebhookEvent<"check_run"> & {}) | (BaseWebhookEvent<"check_run"> & {}) | (BaseWebhookEvent<"check_run"> & {}) | BaseWebhookEvent<"check_suite"> | (BaseWebhookEvent<"check_suite"> & {}) | (BaseWebhookEvent<"check_suite"> & {}) | (BaseWebhookEvent<"check_suite"> & {}) | BaseWebhookEvent<"code_scanning_alert"> | (BaseWebhookEvent<"code_scanning_alert"> & {}) | (BaseWebhookEvent<"code_scanning_alert"> & {}) | (BaseWebhookEvent<"code_scanning_alert"> & {}) | (BaseWebhookEvent<"code_scanning_alert"> & {}) | (BaseWebhookEvent<"code_scanning_alert"> & {}) | (BaseWebhookEvent<"code_scanning_alert"> & {}) | BaseWebhookEvent<"commit_comment"> | (BaseWebhookEvent<"commit_comment"> & {}) | BaseWebhookEvent<"content_reference"> | (BaseWebhookEvent<"content_reference"> & {}) | BaseWebhookEvent<"create"> | BaseWebhookEvent<"delete"> | BaseWebhookEvent<"deploy_key"> | (BaseWebhookEvent<"deploy_key"> & {}) | (BaseWebhookEvent<"deploy_key"> & {}) | BaseWebhookEvent<"deployment"> | (BaseWebhookEvent<"deployment"> & {}) | BaseWebhookEvent<"deployment_status"> | (BaseWebhookEvent<"deployment_status"> & {}) | BaseWebhookEvent<"discussion"> | (BaseWebhookEvent<"discussion"> & {}) | (BaseWebhookEvent<"discussion"> & {}) | (BaseWebhookEvent<"discussion"> & {}) | (BaseWebhookEvent<"discussion"> & {}) | (BaseWebhookEvent<"discussion"> & {}) | (BaseWebhookEvent<"discussion"> & {}) | (BaseWebhookEvent<"discussion"> & {}) | (BaseWebhookEvent<"discussion"> & {}) | (BaseWebhookEvent<"discussion"> & {}) | (BaseWebhookEvent<"discussion"> & {}) | (BaseWebhookEvent<"discussion"> & {}) | BaseWebhookEvent<"discussion_comment"> | (BaseWebhookEvent<"discussion_comment"> & {}) | (BaseWebhookEvent<"discussion_comment"> & {}) | (BaseWebhookEvent<"discussion_comment"> & {}) | BaseWebhookEvent<"fork"> | BaseWebhookEvent<"github_app_authorization"> | (BaseWebhookEvent<"github_app_authorization"> & {}) | BaseWebhookEvent<"gollum"> | BaseWebhookEvent<"installation"> | (BaseWebhookEvent<"installation"> & {}) | (BaseWebhookEvent<"installation"> & {}) | (BaseWebhookEvent<"installation"> & {}) | (BaseWebhookEvent<"installation"> & {}) | (BaseWebhookEvent<"installation"> & {}) | BaseWebhookEvent<"installation_repositories"> | (BaseWebhookEvent<"installation_repositories"> & {}) | (BaseWebhookEvent<"installation_repositories"> & {}) | BaseWebhookEvent<"issue_comment"> | (BaseWebhookEvent<"issue_comment"> & {}) | (BaseWebhookEvent<"issue_comment"> & {}) | (BaseWebhookEvent<"issue_comment"> & {}) | BaseWebhookEvent<"issues"> | (BaseWebhookEvent<"issues"> & {}) | (BaseWebhookEvent<"issues"> & {}) | (BaseWebhookEvent<"issues"> & {}) | (BaseWebhookEvent<"issues"> & {}) | (BaseWebhookEvent<"issues"> & {}) | (BaseWebhookEvent<"issues"> & {}) | (BaseWebhookEvent<"issues"> & {}) | (BaseWebhookEvent<"issues"> & {}) | (BaseWebhookEvent<"issues"> & {}) | (BaseWebhookEvent<"issues"> & {}) | (BaseWebhookEvent<"issues"> & {}) | (BaseWebhookEvent<"issues"> & {}) | (BaseWebhookEvent<"issues"> & {}) | (BaseWebhookEvent<"issues"> & {}) | (BaseWebhookEvent<"issues"> & {}) | (BaseWebhookEvent<"issues"> & {}) | BaseWebhookEvent<"label"> | (BaseWebhookEvent<"label"> & {}) | (BaseWebhookEvent<"label"> & {}) | (BaseWebhookEvent<"label"> & {}) | BaseWebhookEvent<"marketplace_purchase"> | (BaseWebhookEvent<"marketplace_purchase"> & {}) | (BaseWebhookEvent<"marketplace_purchase"> & {}) | (BaseWebhookEvent<"marketplace_purchase"> & {}) | (BaseWebhookEvent<"marketplace_purchase"> & {}) | (BaseWebhookEvent<"marketplace_purchase"> & {}) | BaseWebhookEvent<"member"> | (BaseWebhookEvent<"member"> & {}) | (BaseWebhookEvent<"member"> & {}) | (BaseWebhookEvent<"member"> & {}) | BaseWebhookEvent<"membership"> | (BaseWebhookEvent<"membership"> & {}) | (BaseWebhookEvent<"membership"> & {}) | BaseWebhookEvent<"meta"> | (BaseWebhookEvent<"meta"> & {}) | BaseWebhookEvent<"milestone"> | (BaseWebhookEvent<"milestone"> & {}) | (BaseWebhookEvent<"milestone"> & {}) | (BaseWebhookEvent<"milestone"> & {}) | (BaseWebhookEvent<"milestone"> & {}) | (BaseWebhookEvent<"milestone"> & {}) | BaseWebhookEvent<"org_block"> | (BaseWebhookEvent<"org_block"> & {}) | (BaseWebhookEvent<"org_block"> & {}) | BaseWebhookEvent<"organization"> | (BaseWebhookEvent<"organization"> & {}) | (BaseWebhookEvent<"organization"> & {}) | (BaseWebhookEvent<"organization"> & {}) | (BaseWebhookEvent<"organization"> & {}) | (BaseWebhookEvent<"organization"> & {}) | BaseWebhookEvent<"package"> | (BaseWebhookEvent<"package"> & {}) | (BaseWebhookEvent<"package"> & {}) | BaseWebhookEvent<"page_build"> | BaseWebhookEvent<"ping"> | BaseWebhookEvent<"project"> | (BaseWebhookEvent<"project"> & {}) | (BaseWebhookEvent<"project"> & {}) | (BaseWebhookEvent<"project"> & {}) | (BaseWebhookEvent<"project"> & {}) | (BaseWebhookEvent<"project"> & {}) | BaseWebhookEvent<"project_card"> | (BaseWebhookEvent<"project_card"> & {}) | (BaseWebhookEvent<"project_card"> & {}) | (BaseWebhookEvent<"project_card"> & {}) | (BaseWebhookEvent<"project_card"> & {}) | (BaseWebhookEvent<"project_card"> & {}) | BaseWebhookEvent<"project_column"> | (BaseWebhookEvent<"project_column"> & {}) | (BaseWebhookEvent<"project_column"> & {}) | (BaseWebhookEvent<"project_column"> & {}) | (BaseWebhookEvent<"project_column"> & {}) | BaseWebhookEvent<"public"> | BaseWebhookEvent<"pull_request"> | (BaseWebhookEvent<"pull_request"> & {}) | (BaseWebhookEvent<"pull_request"> & {}) | (BaseWebhookEvent<"pull_request"> & {}) | (BaseWebhookEvent<"pull_request"> & {}) | (BaseWebhookEvent<"pull_request"> & {}) | (BaseWebhookEvent<"pull_request"> & {}) | (BaseWebhookEvent<"pull_request"> & {}) | (BaseWebhookEvent<"pull_request"> & {}) | (BaseWebhookEvent<"pull_request"> & {}) | (BaseWebhookEvent<"pull_request"> & {}) | (BaseWebhookEvent<"pull_request"> & {}) | (BaseWebhookEvent<"pull_request"> & {}) | (BaseWebhookEvent<"pull_request"> & {}) | (BaseWebhookEvent<"pull_request"> & {}) | (BaseWebhookEvent<"pull_request"> & {}) | (BaseWebhookEvent<"pull_request"> & {}) | (BaseWebhookEvent<"pull_request"> & {}) | BaseWebhookEvent<"pull_request_review"> | (BaseWebhookEvent<"pull_request_review"> & {}) | (BaseWebhookEvent<"pull_request_review"> & {}) | (BaseWebhookEvent<"pull_request_review"> & {}) | BaseWebhookEvent<"pull_request_review_comment"> | (BaseWebhookEvent<"pull_request_review_comment"> & {}) | (BaseWebhookEvent<"pull_request_review_comment"> & {}) | (BaseWebhookEvent<"pull_request_review_comment"> & {}) | BaseWebhookEvent<"push"> | BaseWebhookEvent<"release"> | (BaseWebhookEvent<"release"> & {}) | (BaseWebhookEvent<"release"> & {}) | (BaseWebhookEvent<"release"> & {}) | (BaseWebhookEvent<"release"> & {}) | (BaseWebhookEvent<"release"> & {}) | (BaseWebhookEvent<"release"> & {}) | (BaseWebhookEvent<"release"> & {}) | BaseWebhookEvent<"repository"> | (BaseWebhookEvent<"repository"> & {}) | (BaseWebhookEvent<"repository"> & {}) | (BaseWebhookEvent<"repository"> & {}) | (BaseWebhookEvent<"repository"> & {}) | (BaseWebhookEvent<"repository"> & {}) | (BaseWebhookEvent<"repository"> & {}) | (BaseWebhookEvent<"repository"> & {}) | (BaseWebhookEvent<"repository"> & {}) | (BaseWebhookEvent<"repository"> & {}) | BaseWebhookEvent<"repository_dispatch"> | (BaseWebhookEvent<"repository_dispatch"> & {}) | BaseWebhookEvent<"repository_import"> | BaseWebhookEvent<"repository_vulnerability_alert"> | (BaseWebhookEvent<"repository_vulnerability_alert"> & {}) | (BaseWebhookEvent<"repository_vulnerability_alert"> & {}) | (BaseWebhookEvent<"repository_vulnerability_alert"> & {}) | BaseWebhookEvent<"secret_scanning_alert"> | (BaseWebhookEvent<"secret_scanning_alert"> & {}) | (BaseWebhookEvent<"secret_scanning_alert"> & {}) | (BaseWebhookEvent<"secret_scanning_alert"> & {}) | BaseWebhookEvent<"security_advisory"> | (BaseWebhookEvent<"security_advisory"> & {}) | (BaseWebhookEvent<"security_advisory"> & {}) | (BaseWebhookEvent<"security_advisory"> & {}) | (BaseWebhookEvent<"security_advisory"> & {}) | BaseWebhookEvent<"sponsorship"> | (BaseWebhookEvent<"sponsorship"> & {}) | (BaseWebhookEvent<"sponsorship"> & {}) | (BaseWebhookEvent<"sponsorship"> & {}) | (BaseWebhookEvent<"sponsorship"> & {}) | (BaseWebhookEvent<"sponsorship"> & {}) | (BaseWebhookEvent<"sponsorship"> & {}) | BaseWebhookEvent<"star"> | (BaseWebhookEvent<"star"> & {}) | (BaseWebhookEvent<"star"> & {}) | BaseWebhookEvent<"status"> | BaseWebhookEvent<"team"> | (BaseWebhookEvent<"team"> & {}) | (BaseWebhookEvent<"team"> & {}) | (BaseWebhookEvent<"team"> & {}) | (BaseWebhookEvent<"team"> & {}) | (BaseWebhookEvent<"team"> & {}) | BaseWebhookEvent<"team_add"> | BaseWebhookEvent<"watch"> | (BaseWebhookEvent<"watch"> & {}) | BaseWebhookEvent<"workflow_dispatch"> | BaseWebhookEvent<"workflow_run"> | (BaseWebhookEvent<"workflow_run"> & {}) | (BaseWebhookEvent<"workflow_run"> & {})

    Returns Promise<Context<"check_run" | "check_suite" | "code_scanning_alert" | "commit_comment" | "content_reference" | "create" | "delete" | "deploy_key" | "deployment" | "deployment_status" | "discussion" | "discussion_comment" | "fork" | "github_app_authorization" | "gollum" | "installation" | "installation_repositories" | "issue_comment" | "issues" | "label" | "marketplace_purchase" | "member" | "membership" | "meta" | "milestone" | "org_block" | "organization" | "package" | "page_build" | "ping" | "project" | "project_card" | "project_column" | "public" | "pull_request" | "pull_request_review" | "pull_request_review_comment" | "push" | "release" | "repository" | "repository_dispatch" | "repository_import" | "repository_vulnerability_alert" | "secret_scanning_alert" | "security_advisory" | "sponsorship" | "star" | "status" | "team" | "team_add" | "watch" | "workflow_dispatch" | "workflow_run">>

Generated using TypeDoc