From fc4058baff6bf8f745ea6868f74e5cacd9e39017 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Wed, 9 Oct 2024 22:43:45 +0000 Subject: [PATCH] Update docs from Probot v13.3.8 via probot/probot@1890b4df765047b3d5bea9ae2c4149a6b40cfaaa --- _submodules/probot | 2 +- api/13.3.8/classes/context.Context.html | 20 +++++++++---------- .../manifest_creation.ManifestCreation.html | 4 ++-- api/13.3.8/classes/probot.Probot.html | 4 ++-- api/13.3.8/classes/server_server.Server.html | 4 ++-- .../functions/apps_default.defaultApp.html | 2 +- .../functions/apps_setup.setupAppFactory.html | 2 +- api/13.3.8/functions/auth.auth.html | 2 +- .../bin_read_cli_options.readCliOptions.html | 2 +- .../bin_read_env_options.readEnvOptions.html | 2 +- ..._node_middleware.createNodeMiddleware.html | 2 +- .../functions/create_probot.createProbot.html | 4 ++-- .../functions/get_router.getRouter.html | 2 +- ...ers_get_error_handler.getErrorHandler.html | 2 +- .../functions/helpers_get_log.getLog.html | 2 +- .../helpers_is_production.isProduction.html | 2 +- ...d_node_version.isSupportedNodeVersion.html | 2 +- ...ers_load_package_json.loadPackageJson.html | 2 +- .../helpers_rebind_log.rebindLog.html | 2 +- ...solve_app_function.resolveAppFunction.html | 2 +- ...pers_webhook_proxy.createWebhookProxy.html | 2 +- ...cated_octokit.getAuthenticatedOctokit.html | 2 +- ...tle_options.getOctokitThrottleOptions.html | 2 +- ...defaults.getProbotOctokitWithDefaults.html | 2 +- .../octokit_get_webhooks.getWebhooks.html | 2 +- ..._request_logging.probotRequestLogging.html | 2 +- ...t_webhooks_transform.webhookTransform.html | 6 +++--- api/13.3.8/functions/run.run.html | 2 +- ...gging_middleware.getLoggingMiddleware.html | 2 +- .../functions/views_import.importView.html | 2 +- .../functions/views_probot.probotView.html | 2 +- .../functions/views_setup.setupView.html | 2 +- .../functions/views_success.successView.html | 2 +- ...s_resolve_app_function.ResolveOptions.html | 4 ++-- ...ers_webhook_proxy.WebhookProxyOptions.html | 4 ++-- api/13.3.8/interfaces/types.Options.html | 4 ++-- api/13.3.8/modules/apps_default.html | 2 +- api/13.3.8/modules/apps_setup.html | 2 +- api/13.3.8/modules/auth.html | 2 +- api/13.3.8/modules/bin_probot.html | 2 +- api/13.3.8/modules/bin_probot_receive.html | 2 +- api/13.3.8/modules/bin_probot_run.html | 2 +- api/13.3.8/modules/bin_read_cli_options.html | 2 +- api/13.3.8/modules/bin_read_env_options.html | 2 +- api/13.3.8/modules/context.html | 2 +- .../modules/create_node_middleware.html | 2 +- api/13.3.8/modules/create_probot.html | 2 +- api/13.3.8/modules/get_router.html | 2 +- .../modules/helpers_get_error_handler.html | 2 +- api/13.3.8/modules/helpers_get_log.html | 2 +- api/13.3.8/modules/helpers_is_production.html | 2 +- .../helpers_is_supported_node_version.html | 2 +- .../modules/helpers_load_package_json.html | 2 +- api/13.3.8/modules/helpers_rebind_log.html | 2 +- .../modules/helpers_resolve_app_function.html | 2 +- api/13.3.8/modules/helpers_webhook_proxy.html | 2 +- api/13.3.8/modules/index.html | 2 +- api/13.3.8/modules/manifest_creation.html | 2 +- .../octokit_get_authenticated_octokit.html | 2 +- .../octokit_get_octokit_throttle_options.html | 2 +- ...okit_get_probot_octokit_with_defaults.html | 2 +- api/13.3.8/modules/octokit_get_webhooks.html | 2 +- ...octokit_plugin_probot_request_logging.html | 2 +- .../octokit_octokit_webhooks_transform.html | 2 +- .../modules/octokit_probot_octokit.html | 2 +- api/13.3.8/modules/probot.html | 2 +- api/13.3.8/modules/run.html | 2 +- .../modules/server_logging_middleware.html | 2 +- api/13.3.8/modules/server_server.html | 2 +- api/13.3.8/modules/types.html | 2 +- api/13.3.8/modules/version.html | 2 +- api/13.3.8/modules/views_import.html | 2 +- api/13.3.8/modules/views_probot.html | 2 +- api/13.3.8/modules/views_setup.html | 2 +- api/13.3.8/modules/views_success.html | 2 +- api/13.3.8/types/context.MergeOptions.html | 2 +- .../types/helpers_get_log.GetLogOptions.html | 2 +- .../octokit_probot_octokit.ProbotOctokit.html | 2 +- api/13.3.8/types/probot.Constructor.html | 2 +- .../types/types.ApplicationFunction.html | 2 +- .../types.ApplicationFunctionOptions.html | 2 +- api/13.3.8/types/types.Env.html | 2 +- api/13.3.8/types/types.Manifest.html | 2 +- api/13.3.8/types/types.MiddlewareOptions.html | 2 +- api/13.3.8/types/types.OctokitOptions.html | 2 +- api/13.3.8/types/types.PackageJson.html | 2 +- api/13.3.8/types/types.ProbotWebhooks.html | 2 +- api/13.3.8/types/types.ServerOptions.html | 2 +- api/13.3.8/types/types.State.html | 2 +- ...ctokit_probot_octokit.ProbotOctokit-1.html | 2 +- .../server_server.defaultWebhooksPath.html | 2 +- api/13.3.8/variables/version.VERSION.html | 2 +- 92 files changed, 110 insertions(+), 110 deletions(-) diff --git a/_submodules/probot b/_submodules/probot index c0bfaedc0c5..1890b4df765 160000 --- a/_submodules/probot +++ b/_submodules/probot @@ -1 +1 @@ -Subproject commit c0bfaedc0c5f02e65cc309a7f7ce5965ff330ac8 +Subproject commit 1890b4df765047b3d5bea9ae2c4149a6b40cfaaa diff --git a/api/13.3.8/classes/context.Context.html b/api/13.3.8/classes/context.Context.html index 5d2ec8fc51f..094de2ce5bb 100644 --- a/api/13.3.8/classes/context.Context.html +++ b/api/13.3.8/classes/context.Context.html @@ -3,7 +3,7 @@
export default app => {
app.on('push', context => {
context.log.info('Code was pushed to the repo, what should we do with it?');
});
};
-

Type Parameters

Constructors

Type Parameters

  • Event extends WebhookEvents = WebhookEvents

Constructors

Properties

id log name @@ -14,11 +14,11 @@ issue pullRequest repo -

Constructors

  • Type Parameters

    • Event extends
          | "status"
          | "branch_protection_configuration"
          | "branch_protection_rule.disabled"
          | "branch_protection_rule.enabled"
          | "branch_protection_rule"
          | "branch_protection_rule.created"
          | "branch_protection_rule.deleted"
          | "branch_protection_rule.edited"
          | "check_run"
          | "check_run.completed"
          | "check_run.created"
          | "check_run.requested_action"
          | "check_run.rerequested"
          | "check_suite"
          | "check_suite.completed"
          | "check_suite.requested"
          | "check_suite.rerequested"
          | "code_scanning_alert"
          | "code_scanning_alert.appeared_in_branch"
          | "code_scanning_alert.closed_by_user"
          | "code_scanning_alert.created"
          | "code_scanning_alert.fixed"
          | "code_scanning_alert.reopened"
          | "code_scanning_alert.reopened_by_user"
          | "commit_comment"
          | "commit_comment.created"
          | "create"
          | "custom_property"
          | "custom_property.created"
          | "custom_property.deleted"
          | "custom_property_values"
          | "custom_property_values.updated"
          | "delete"
          | "dependabot_alert"
          | "dependabot_alert.created"
          | "dependabot_alert.dismissed"
          | "dependabot_alert.fixed"
          | "dependabot_alert.reintroduced"
          | "dependabot_alert.reopened"
          | "deploy_key"
          | "deploy_key.created"
          | "deploy_key.deleted"
          | "deployment"
          | "deployment.created"
          | "deployment_protection_rule"
          | "deployment_protection_rule.requested"
          | "deployment_review"
          | "deployment_review.approved"
          | "deployment_review.rejected"
          | "deployment_review.requested"
          | "deployment_status"
          | "deployment_status.created"
          | "discussion"
          | "discussion.answered"
          | "discussion.category_changed"
          | "discussion.created"
          | "discussion.deleted"
          | "discussion.edited"
          | "discussion.labeled"
          | "discussion.locked"
          | "discussion.pinned"
          | "discussion.transferred"
          | "discussion.unanswered"
          | "discussion.unlabeled"
          | "discussion.unlocked"
          | "discussion.unpinned"
          | "discussion_comment"
          | "discussion_comment.created"
          | "discussion_comment.deleted"
          | "discussion_comment.edited"
          | "fork"
          | "github_app_authorization"
          | "github_app_authorization.revoked"
          | "gollum"
          | "installation"
          | "installation.created"
          | "installation.deleted"
          | "installation.new_permissions_accepted"
          | "installation.suspend"
          | "installation.unsuspend"
          | "installation_repositories"
          | "installation_repositories.added"
          | "installation_repositories.removed"
          | "installation_target"
          | "installation_target.renamed"
          | "issue_comment"
          | "issue_comment.created"
          | "issue_comment.deleted"
          | "issue_comment.edited"
          | "issues"
          | "issues.assigned"
          | "issues.closed"
          | "issues.deleted"
          | "issues.demilestoned"
          | "issues.edited"
          | "issues.labeled"
          | "issues.locked"
          | "issues.milestoned"
          | "issues.opened"
          | "issues.pinned"
          | "issues.reopened"
          | "issues.transferred"
          | "issues.unassigned"
          | "issues.unlabeled"
          | "issues.unlocked"
          | "issues.unpinned"
          | "label"
          | "label.created"
          | "label.deleted"
          | "label.edited"
          | "marketplace_purchase"
          | "marketplace_purchase.cancelled"
          | "marketplace_purchase.changed"
          | "marketplace_purchase.pending_change"
          | "marketplace_purchase.pending_change_cancelled"
          | "marketplace_purchase.purchased"
          | "member"
          | "member.added"
          | "member.edited"
          | "member.removed"
          | "membership"
          | "membership.added"
          | "membership.removed"
          | "merge_group"
          | "merge_group.checks_requested"
          | "meta"
          | "meta.deleted"
          | "milestone"
          | "milestone.closed"
          | "milestone.created"
          | "milestone.deleted"
          | "milestone.edited"
          | "milestone.opened"
          | "org_block"
          | "org_block.blocked"
          | "org_block.unblocked"
          | "organization"
          | "organization.deleted"
          | "organization.member_added"
          | "organization.member_invited"
          | "organization.member_removed"
          | "organization.renamed"
          | "package"
          | "package.published"
          | "package.updated"
          | "page_build"
          | "ping"
          | "project"
          | "project.closed"
          | "project.created"
          | "project.deleted"
          | "project.edited"
          | "project.reopened"
          | "project_card"
          | "project_card.converted"
          | "project_card.created"
          | "project_card.deleted"
          | "project_card.edited"
          | "project_card.moved"
          | "project_column"
          | "project_column.created"
          | "project_column.deleted"
          | "project_column.edited"
          | "project_column.moved"
          | "projects_v2_item"
          | "projects_v2_item.archived"
          | "projects_v2_item.converted"
          | "projects_v2_item.created"
          | "projects_v2_item.deleted"
          | "projects_v2_item.edited"
          | "projects_v2_item.reordered"
          | "projects_v2_item.restored"
          | "public"
          | "pull_request"
          | "pull_request.assigned"
          | "pull_request.auto_merge_disabled"
          | "pull_request.auto_merge_enabled"
          | "pull_request.closed"
          | "pull_request.converted_to_draft"
          | "pull_request.demilestoned"
          | "pull_request.dequeued"
          | "pull_request.edited"
          | "pull_request.enqueued"
          | "pull_request.labeled"
          | "pull_request.locked"
          | "pull_request.milestoned"
          | "pull_request.opened"
          | "pull_request.ready_for_review"
          | "pull_request.reopened"
          | "pull_request.review_request_removed"
          | "pull_request.review_requested"
          | "pull_request.synchronize"
          | "pull_request.unassigned"
          | "pull_request.unlabeled"
          | "pull_request.unlocked"
          | "pull_request_review"
          | "pull_request_review.dismissed"
          | "pull_request_review.edited"
          | "pull_request_review.submitted"
          | "pull_request_review_comment"
          | "pull_request_review_comment.created"
          | "pull_request_review_comment.deleted"
          | "pull_request_review_comment.edited"
          | "pull_request_review_thread"
          | "pull_request_review_thread.resolved"
          | "pull_request_review_thread.unresolved"
          | "push"
          | "registry_package"
          | "registry_package.published"
          | "registry_package.updated"
          | "release"
          | "release.created"
          | "release.deleted"
          | "release.edited"
          | "release.prereleased"
          | "release.published"
          | "release.released"
          | "release.unpublished"
          | "repository"
          | "repository.archived"
          | "repository.created"
          | "repository.deleted"
          | "repository.edited"
          | "repository.privatized"
          | "repository.publicized"
          | "repository.renamed"
          | "repository.transferred"
          | "repository.unarchived"
          | "repository_dispatch"
          | "repository_import"
          | "repository_vulnerability_alert"
          | "repository_vulnerability_alert.create"
          | "repository_vulnerability_alert.dismiss"
          | "repository_vulnerability_alert.reopen"
          | "repository_vulnerability_alert.resolve"
          | "secret_scanning_alert"
          | "secret_scanning_alert.created"
          | "secret_scanning_alert.reopened"
          | "secret_scanning_alert.resolved"
          | "secret_scanning_alert.revoked"
          | "secret_scanning_alert_location"
          | "secret_scanning_alert_location.created"
          | "security_advisory"
          | "security_advisory.performed"
          | "security_advisory.published"
          | "security_advisory.updated"
          | "security_advisory.withdrawn"
          | "sponsorship"
          | "sponsorship.cancelled"
          | "sponsorship.created"
          | "sponsorship.edited"
          | "sponsorship.pending_cancellation"
          | "sponsorship.pending_tier_change"
          | "sponsorship.tier_changed"
          | "star"
          | "star.created"
          | "star.deleted"
          | "team"
          | "team.added_to_repository"
          | "team.created"
          | "team.deleted"
          | "team.edited"
          | "team.removed_from_repository"
          | "team_add"
          | "watch"
          | "watch.started"
          | "workflow_dispatch"
          | "workflow_job"
          | "workflow_job.completed"
          | "workflow_job.in_progress"
          | "workflow_job.queued"
          | "workflow_job.waiting"
          | "workflow_run"
          | "workflow_run.completed"
          | "workflow_run.in_progress"
          | "workflow_run.requested" =
          | "status"
          | "branch_protection_configuration"
          | "branch_protection_rule.disabled"
          | "branch_protection_rule.enabled"
          | "branch_protection_rule"
          | "branch_protection_rule.created"
          | "branch_protection_rule.deleted"
          | "branch_protection_rule.edited"
          | "check_run"
          | "check_run.completed"
          | "check_run.created"
          | "check_run.requested_action"
          | "check_run.rerequested"
          | "check_suite"
          | "check_suite.completed"
          | "check_suite.requested"
          | "check_suite.rerequested"
          | "code_scanning_alert"
          | "code_scanning_alert.appeared_in_branch"
          | "code_scanning_alert.closed_by_user"
          | "code_scanning_alert.created"
          | "code_scanning_alert.fixed"
          | "code_scanning_alert.reopened"
          | "code_scanning_alert.reopened_by_user"
          | "commit_comment"
          | "commit_comment.created"
          | "create"
          | "custom_property"
          | "custom_property.created"
          | "custom_property.deleted"
          | "custom_property_values"
          | "custom_property_values.updated"
          | "delete"
          | "dependabot_alert"
          | "dependabot_alert.created"
          | "dependabot_alert.dismissed"
          | "dependabot_alert.fixed"
          | "dependabot_alert.reintroduced"
          | "dependabot_alert.reopened"
          | "deploy_key"
          | "deploy_key.created"
          | "deploy_key.deleted"
          | "deployment"
          | "deployment.created"
          | "deployment_protection_rule"
          | "deployment_protection_rule.requested"
          | "deployment_review"
          | "deployment_review.approved"
          | "deployment_review.rejected"
          | "deployment_review.requested"
          | "deployment_status"
          | "deployment_status.created"
          | "discussion"
          | "discussion.answered"
          | "discussion.category_changed"
          | "discussion.created"
          | "discussion.deleted"
          | "discussion.edited"
          | "discussion.labeled"
          | "discussion.locked"
          | "discussion.pinned"
          | "discussion.transferred"
          | "discussion.unanswered"
          | "discussion.unlabeled"
          | "discussion.unlocked"
          | "discussion.unpinned"
          | "discussion_comment"
          | "discussion_comment.created"
          | "discussion_comment.deleted"
          | "discussion_comment.edited"
          | "fork"
          | "github_app_authorization"
          | "github_app_authorization.revoked"
          | "gollum"
          | "installation"
          | "installation.created"
          | "installation.deleted"
          | "installation.new_permissions_accepted"
          | "installation.suspend"
          | "installation.unsuspend"
          | "installation_repositories"
          | "installation_repositories.added"
          | "installation_repositories.removed"
          | "installation_target"
          | "installation_target.renamed"
          | "issue_comment"
          | "issue_comment.created"
          | "issue_comment.deleted"
          | "issue_comment.edited"
          | "issues"
          | "issues.assigned"
          | "issues.closed"
          | "issues.deleted"
          | "issues.demilestoned"
          | "issues.edited"
          | "issues.labeled"
          | "issues.locked"
          | "issues.milestoned"
          | "issues.opened"
          | "issues.pinned"
          | "issues.reopened"
          | "issues.transferred"
          | "issues.unassigned"
          | "issues.unlabeled"
          | "issues.unlocked"
          | "issues.unpinned"
          | "label"
          | "label.created"
          | "label.deleted"
          | "label.edited"
          | "marketplace_purchase"
          | "marketplace_purchase.cancelled"
          | "marketplace_purchase.changed"
          | "marketplace_purchase.pending_change"
          | "marketplace_purchase.pending_change_cancelled"
          | "marketplace_purchase.purchased"
          | "member"
          | "member.added"
          | "member.edited"
          | "member.removed"
          | "membership"
          | "membership.added"
          | "membership.removed"
          | "merge_group"
          | "merge_group.checks_requested"
          | "meta"
          | "meta.deleted"
          | "milestone"
          | "milestone.closed"
          | "milestone.created"
          | "milestone.deleted"
          | "milestone.edited"
          | "milestone.opened"
          | "org_block"
          | "org_block.blocked"
          | "org_block.unblocked"
          | "organization"
          | "organization.deleted"
          | "organization.member_added"
          | "organization.member_invited"
          | "organization.member_removed"
          | "organization.renamed"
          | "package"
          | "package.published"
          | "package.updated"
          | "page_build"
          | "ping"
          | "project"
          | "project.closed"
          | "project.created"
          | "project.deleted"
          | "project.edited"
          | "project.reopened"
          | "project_card"
          | "project_card.converted"
          | "project_card.created"
          | "project_card.deleted"
          | "project_card.edited"
          | "project_card.moved"
          | "project_column"
          | "project_column.created"
          | "project_column.deleted"
          | "project_column.edited"
          | "project_column.moved"
          | "projects_v2_item"
          | "projects_v2_item.archived"
          | "projects_v2_item.converted"
          | "projects_v2_item.created"
          | "projects_v2_item.deleted"
          | "projects_v2_item.edited"
          | "projects_v2_item.reordered"
          | "projects_v2_item.restored"
          | "public"
          | "pull_request"
          | "pull_request.assigned"
          | "pull_request.auto_merge_disabled"
          | "pull_request.auto_merge_enabled"
          | "pull_request.closed"
          | "pull_request.converted_to_draft"
          | "pull_request.demilestoned"
          | "pull_request.dequeued"
          | "pull_request.edited"
          | "pull_request.enqueued"
          | "pull_request.labeled"
          | "pull_request.locked"
          | "pull_request.milestoned"
          | "pull_request.opened"
          | "pull_request.ready_for_review"
          | "pull_request.reopened"
          | "pull_request.review_request_removed"
          | "pull_request.review_requested"
          | "pull_request.synchronize"
          | "pull_request.unassigned"
          | "pull_request.unlabeled"
          | "pull_request.unlocked"
          | "pull_request_review"
          | "pull_request_review.dismissed"
          | "pull_request_review.edited"
          | "pull_request_review.submitted"
          | "pull_request_review_comment"
          | "pull_request_review_comment.created"
          | "pull_request_review_comment.deleted"
          | "pull_request_review_comment.edited"
          | "pull_request_review_thread"
          | "pull_request_review_thread.resolved"
          | "pull_request_review_thread.unresolved"
          | "push"
          | "registry_package"
          | "registry_package.published"
          | "registry_package.updated"
          | "release"
          | "release.created"
          | "release.deleted"
          | "release.edited"
          | "release.prereleased"
          | "release.published"
          | "release.released"
          | "release.unpublished"
          | "repository"
          | "repository.archived"
          | "repository.created"
          | "repository.deleted"
          | "repository.edited"
          | "repository.privatized"
          | "repository.publicized"
          | "repository.renamed"
          | "repository.transferred"
          | "repository.unarchived"
          | "repository_dispatch"
          | "repository_import"
          | "repository_vulnerability_alert"
          | "repository_vulnerability_alert.create"
          | "repository_vulnerability_alert.dismiss"
          | "repository_vulnerability_alert.reopen"
          | "repository_vulnerability_alert.resolve"
          | "secret_scanning_alert"
          | "secret_scanning_alert.created"
          | "secret_scanning_alert.reopened"
          | "secret_scanning_alert.resolved"
          | "secret_scanning_alert.revoked"
          | "secret_scanning_alert_location"
          | "secret_scanning_alert_location.created"
          | "security_advisory"
          | "security_advisory.performed"
          | "security_advisory.published"
          | "security_advisory.updated"
          | "security_advisory.withdrawn"
          | "sponsorship"
          | "sponsorship.cancelled"
          | "sponsorship.created"
          | "sponsorship.edited"
          | "sponsorship.pending_cancellation"
          | "sponsorship.pending_tier_change"
          | "sponsorship.tier_changed"
          | "star"
          | "star.created"
          | "star.deleted"
          | "team"
          | "team.added_to_repository"
          | "team.created"
          | "team.deleted"
          | "team.edited"
          | "team.removed_from_repository"
          | "team_add"
          | "watch"
          | "watch.started"
          | "workflow_dispatch"
          | "workflow_job"
          | "workflow_job.completed"
          | "workflow_job.in_progress"
          | "workflow_job.queued"
          | "workflow_job.waiting"
          | "workflow_run"
          | "workflow_run.completed"
          | "workflow_run.in_progress"
          | "workflow_run.requested"

    Parameters

    • event: EmitterWebhookEvent<Event>
    • octokit: Octokit & {} & {} & RestEndpointMethods & Api & API
    • log: Logger

    Returns Context<Event>

Properties

id: string
log: Logger

A pino instance

-
name:
    | "status"
    | "branch_protection_configuration"
    | "branch_protection_rule.disabled"
    | "branch_protection_rule.enabled"
    | "branch_protection_rule"
    | "branch_protection_rule.created"
    | "branch_protection_rule.deleted"
    | "branch_protection_rule.edited"
    | "check_run"
    | "check_run.completed"
    | "check_run.created"
    | "check_run.requested_action"
    | "check_run.rerequested"
    | "check_suite"
    | "check_suite.completed"
    | "check_suite.requested"
    | "check_suite.rerequested"
    | "code_scanning_alert"
    | "code_scanning_alert.appeared_in_branch"
    | "code_scanning_alert.closed_by_user"
    | "code_scanning_alert.created"
    | "code_scanning_alert.fixed"
    | "code_scanning_alert.reopened"
    | "code_scanning_alert.reopened_by_user"
    | "commit_comment"
    | "commit_comment.created"
    | "create"
    | "custom_property"
    | "custom_property.created"
    | "custom_property.deleted"
    | "custom_property_values"
    | "custom_property_values.updated"
    | "delete"
    | "dependabot_alert"
    | "dependabot_alert.created"
    | "dependabot_alert.dismissed"
    | "dependabot_alert.fixed"
    | "dependabot_alert.reintroduced"
    | "dependabot_alert.reopened"
    | "deploy_key"
    | "deploy_key.created"
    | "deploy_key.deleted"
    | "deployment"
    | "deployment.created"
    | "deployment_protection_rule"
    | "deployment_protection_rule.requested"
    | "deployment_review"
    | "deployment_review.approved"
    | "deployment_review.rejected"
    | "deployment_review.requested"
    | "deployment_status"
    | "deployment_status.created"
    | "discussion"
    | "discussion.answered"
    | "discussion.category_changed"
    | "discussion.created"
    | "discussion.deleted"
    | "discussion.edited"
    | "discussion.labeled"
    | "discussion.locked"
    | "discussion.pinned"
    | "discussion.transferred"
    | "discussion.unanswered"
    | "discussion.unlabeled"
    | "discussion.unlocked"
    | "discussion.unpinned"
    | "discussion_comment"
    | "discussion_comment.created"
    | "discussion_comment.deleted"
    | "discussion_comment.edited"
    | "fork"
    | "github_app_authorization"
    | "github_app_authorization.revoked"
    | "gollum"
    | "installation"
    | "installation.created"
    | "installation.deleted"
    | "installation.new_permissions_accepted"
    | "installation.suspend"
    | "installation.unsuspend"
    | "installation_repositories"
    | "installation_repositories.added"
    | "installation_repositories.removed"
    | "installation_target"
    | "installation_target.renamed"
    | "issue_comment"
    | "issue_comment.created"
    | "issue_comment.deleted"
    | "issue_comment.edited"
    | "issues"
    | "issues.assigned"
    | "issues.closed"
    | "issues.deleted"
    | "issues.demilestoned"
    | "issues.edited"
    | "issues.labeled"
    | "issues.locked"
    | "issues.milestoned"
    | "issues.opened"
    | "issues.pinned"
    | "issues.reopened"
    | "issues.transferred"
    | "issues.unassigned"
    | "issues.unlabeled"
    | "issues.unlocked"
    | "issues.unpinned"
    | "label"
    | "label.created"
    | "label.deleted"
    | "label.edited"
    | "marketplace_purchase"
    | "marketplace_purchase.cancelled"
    | "marketplace_purchase.changed"
    | "marketplace_purchase.pending_change"
    | "marketplace_purchase.pending_change_cancelled"
    | "marketplace_purchase.purchased"
    | "member"
    | "member.added"
    | "member.edited"
    | "member.removed"
    | "membership"
    | "membership.added"
    | "membership.removed"
    | "merge_group"
    | "merge_group.checks_requested"
    | "meta"
    | "meta.deleted"
    | "milestone"
    | "milestone.closed"
    | "milestone.created"
    | "milestone.deleted"
    | "milestone.edited"
    | "milestone.opened"
    | "org_block"
    | "org_block.blocked"
    | "org_block.unblocked"
    | "organization"
    | "organization.deleted"
    | "organization.member_added"
    | "organization.member_invited"
    | "organization.member_removed"
    | "organization.renamed"
    | "package"
    | "package.published"
    | "package.updated"
    | "page_build"
    | "ping"
    | "project"
    | "project.closed"
    | "project.created"
    | "project.deleted"
    | "project.edited"
    | "project.reopened"
    | "project_card"
    | "project_card.converted"
    | "project_card.created"
    | "project_card.deleted"
    | "project_card.edited"
    | "project_card.moved"
    | "project_column"
    | "project_column.created"
    | "project_column.deleted"
    | "project_column.edited"
    | "project_column.moved"
    | "projects_v2_item"
    | "projects_v2_item.archived"
    | "projects_v2_item.converted"
    | "projects_v2_item.created"
    | "projects_v2_item.deleted"
    | "projects_v2_item.edited"
    | "projects_v2_item.reordered"
    | "projects_v2_item.restored"
    | "public"
    | "pull_request"
    | "pull_request.assigned"
    | "pull_request.auto_merge_disabled"
    | "pull_request.auto_merge_enabled"
    | "pull_request.closed"
    | "pull_request.converted_to_draft"
    | "pull_request.demilestoned"
    | "pull_request.dequeued"
    | "pull_request.edited"
    | "pull_request.enqueued"
    | "pull_request.labeled"
    | "pull_request.locked"
    | "pull_request.milestoned"
    | "pull_request.opened"
    | "pull_request.ready_for_review"
    | "pull_request.reopened"
    | "pull_request.review_request_removed"
    | "pull_request.review_requested"
    | "pull_request.synchronize"
    | "pull_request.unassigned"
    | "pull_request.unlabeled"
    | "pull_request.unlocked"
    | "pull_request_review"
    | "pull_request_review.dismissed"
    | "pull_request_review.edited"
    | "pull_request_review.submitted"
    | "pull_request_review_comment"
    | "pull_request_review_comment.created"
    | "pull_request_review_comment.deleted"
    | "pull_request_review_comment.edited"
    | "pull_request_review_thread"
    | "pull_request_review_thread.resolved"
    | "pull_request_review_thread.unresolved"
    | "push"
    | "registry_package"
    | "registry_package.published"
    | "registry_package.updated"
    | "release"
    | "release.created"
    | "release.deleted"
    | "release.edited"
    | "release.prereleased"
    | "release.published"
    | "release.released"
    | "release.unpublished"
    | "repository"
    | "repository.archived"
    | "repository.created"
    | "repository.deleted"
    | "repository.edited"
    | "repository.privatized"
    | "repository.publicized"
    | "repository.renamed"
    | "repository.transferred"
    | "repository.unarchived"
    | "repository_dispatch"
    | "repository_import"
    | "repository_vulnerability_alert"
    | "repository_vulnerability_alert.create"
    | "repository_vulnerability_alert.dismiss"
    | "repository_vulnerability_alert.reopen"
    | "repository_vulnerability_alert.resolve"
    | "secret_scanning_alert"
    | "secret_scanning_alert.created"
    | "secret_scanning_alert.reopened"
    | "secret_scanning_alert.resolved"
    | "secret_scanning_alert.revoked"
    | "secret_scanning_alert_location"
    | "secret_scanning_alert_location.created"
    | "security_advisory"
    | "security_advisory.performed"
    | "security_advisory.published"
    | "security_advisory.updated"
    | "security_advisory.withdrawn"
    | "sponsorship"
    | "sponsorship.cancelled"
    | "sponsorship.created"
    | "sponsorship.edited"
    | "sponsorship.pending_cancellation"
    | "sponsorship.pending_tier_change"
    | "sponsorship.tier_changed"
    | "star"
    | "star.created"
    | "star.deleted"
    | "team"
    | "team.added_to_repository"
    | "team.created"
    | "team.deleted"
    | "team.edited"
    | "team.removed_from_repository"
    | "team_add"
    | "watch"
    | "watch.started"
    | "workflow_dispatch"
    | "workflow_job"
    | "workflow_job.completed"
    | "workflow_job.in_progress"
    | "workflow_job.queued"
    | "workflow_job.waiting"
    | "workflow_run"
    | "workflow_run.completed"
    | "workflow_run.in_progress"
    | "workflow_run.requested"
octokit: Octokit & {} & {} & RestEndpointMethods & Api & API

An Octokit instance

-
payload: {
    [K in
        | "status"
        | "branch_protection_configuration"
        | "branch_protection_rule.disabled"
        | "branch_protection_rule.enabled"
        | "branch_protection_rule"
        | "branch_protection_rule.created"
        | "branch_protection_rule.deleted"
        | "branch_protection_rule.edited"
        | "check_run"
        | "check_run.completed"
        | "check_run.created"
        | "check_run.requested_action"
        | "check_run.rerequested"
        | "check_suite"
        | "check_suite.completed"
        | "check_suite.requested"
        | "check_suite.rerequested"
        | "code_scanning_alert"
        | "code_scanning_alert.appeared_in_branch"
        | "code_scanning_alert.closed_by_user"
        | "code_scanning_alert.created"
        | "code_scanning_alert.fixed"
        | "code_scanning_alert.reopened"
        | "code_scanning_alert.reopened_by_user"
        | "commit_comment"
        | "commit_comment.created"
        | "create"
        | "custom_property"
        | "custom_property.created"
        | "custom_property.deleted"
        | "custom_property_values"
        | "custom_property_values.updated"
        | "delete"
        | "dependabot_alert"
        | "dependabot_alert.created"
        | "dependabot_alert.dismissed"
        | "dependabot_alert.fixed"
        | "dependabot_alert.reintroduced"
        | "dependabot_alert.reopened"
        | "deploy_key"
        | "deploy_key.created"
        | "deploy_key.deleted"
        | "deployment"
        | "deployment.created"
        | "deployment_protection_rule"
        | "deployment_protection_rule.requested"
        | "deployment_review"
        | "deployment_review.approved"
        | "deployment_review.rejected"
        | "deployment_review.requested"
        | "deployment_status"
        | "deployment_status.created"
        | "discussion"
        | "discussion.answered"
        | "discussion.category_changed"
        | "discussion.created"
        | "discussion.deleted"
        | "discussion.edited"
        | "discussion.labeled"
        | "discussion.locked"
        | "discussion.pinned"
        | "discussion.transferred"
        | "discussion.unanswered"
        | "discussion.unlabeled"
        | "discussion.unlocked"
        | "discussion.unpinned"
        | "discussion_comment"
        | "discussion_comment.created"
        | "discussion_comment.deleted"
        | "discussion_comment.edited"
        | "fork"
        | "github_app_authorization"
        | "github_app_authorization.revoked"
        | "gollum"
        | "installation"
        | "installation.created"
        | "installation.deleted"
        | "installation.new_permissions_accepted"
        | "installation.suspend"
        | "installation.unsuspend"
        | "installation_repositories"
        | "installation_repositories.added"
        | "installation_repositories.removed"
        | "installation_target"
        | "installation_target.renamed"
        | "issue_comment"
        | "issue_comment.created"
        | "issue_comment.deleted"
        | "issue_comment.edited"
        | "issues"
        | "issues.assigned"
        | "issues.closed"
        | "issues.deleted"
        | "issues.demilestoned"
        | "issues.edited"
        | "issues.labeled"
        | "issues.locked"
        | "issues.milestoned"
        | "issues.opened"
        | "issues.pinned"
        | "issues.reopened"
        | "issues.transferred"
        | "issues.unassigned"
        | "issues.unlabeled"
        | "issues.unlocked"
        | "issues.unpinned"
        | "label"
        | "label.created"
        | "label.deleted"
        | "label.edited"
        | "marketplace_purchase"
        | "marketplace_purchase.cancelled"
        | "marketplace_purchase.changed"
        | "marketplace_purchase.pending_change"
        | "marketplace_purchase.pending_change_cancelled"
        | "marketplace_purchase.purchased"
        | "member"
        | "member.added"
        | "member.edited"
        | "member.removed"
        | "membership"
        | "membership.added"
        | "membership.removed"
        | "merge_group"
        | "merge_group.checks_requested"
        | "meta"
        | "meta.deleted"
        | "milestone"
        | "milestone.closed"
        | "milestone.created"
        | "milestone.deleted"
        | "milestone.edited"
        | "milestone.opened"
        | "org_block"
        | "org_block.blocked"
        | "org_block.unblocked"
        | "organization"
        | "organization.deleted"
        | "organization.member_added"
        | "organization.member_invited"
        | "organization.member_removed"
        | "organization.renamed"
        | "package"
        | "package.published"
        | "package.updated"
        | "page_build"
        | "ping"
        | "project"
        | "project.closed"
        | "project.created"
        | "project.deleted"
        | "project.edited"
        | "project.reopened"
        | "project_card"
        | "project_card.converted"
        | "project_card.created"
        | "project_card.deleted"
        | "project_card.edited"
        | "project_card.moved"
        | "project_column"
        | "project_column.created"
        | "project_column.deleted"
        | "project_column.edited"
        | "project_column.moved"
        | "projects_v2_item"
        | "projects_v2_item.archived"
        | "projects_v2_item.converted"
        | "projects_v2_item.created"
        | "projects_v2_item.deleted"
        | "projects_v2_item.edited"
        | "projects_v2_item.reordered"
        | "projects_v2_item.restored"
        | "public"
        | "pull_request"
        | "pull_request.assigned"
        | "pull_request.auto_merge_disabled"
        | "pull_request.auto_merge_enabled"
        | "pull_request.closed"
        | "pull_request.converted_to_draft"
        | "pull_request.demilestoned"
        | "pull_request.dequeued"
        | "pull_request.edited"
        | "pull_request.enqueued"
        | "pull_request.labeled"
        | "pull_request.locked"
        | "pull_request.milestoned"
        | "pull_request.opened"
        | "pull_request.ready_for_review"
        | "pull_request.reopened"
        | "pull_request.review_request_removed"
        | "pull_request.review_requested"
        | "pull_request.synchronize"
        | "pull_request.unassigned"
        | "pull_request.unlabeled"
        | "pull_request.unlocked"
        | "pull_request_review"
        | "pull_request_review.dismissed"
        | "pull_request_review.edited"
        | "pull_request_review.submitted"
        | "pull_request_review_comment"
        | "pull_request_review_comment.created"
        | "pull_request_review_comment.deleted"
        | "pull_request_review_comment.edited"
        | "pull_request_review_thread"
        | "pull_request_review_thread.resolved"
        | "pull_request_review_thread.unresolved"
        | "push"
        | "registry_package"
        | "registry_package.published"
        | "registry_package.updated"
        | "release"
        | "release.created"
        | "release.deleted"
        | "release.edited"
        | "release.prereleased"
        | "release.published"
        | "release.released"
        | "release.unpublished"
        | "repository"
        | "repository.archived"
        | "repository.created"
        | "repository.deleted"
        | "repository.edited"
        | "repository.privatized"
        | "repository.publicized"
        | "repository.renamed"
        | "repository.transferred"
        | "repository.unarchived"
        | "repository_dispatch"
        | "repository_import"
        | "repository_vulnerability_alert"
        | "repository_vulnerability_alert.create"
        | "repository_vulnerability_alert.dismiss"
        | "repository_vulnerability_alert.reopen"
        | "repository_vulnerability_alert.resolve"
        | "secret_scanning_alert"
        | "secret_scanning_alert.created"
        | "secret_scanning_alert.reopened"
        | "secret_scanning_alert.resolved"
        | "secret_scanning_alert.revoked"
        | "secret_scanning_alert_location"
        | "secret_scanning_alert_location.created"
        | "security_advisory"
        | "security_advisory.performed"
        | "security_advisory.published"
        | "security_advisory.updated"
        | "security_advisory.withdrawn"
        | "sponsorship"
        | "sponsorship.cancelled"
        | "sponsorship.created"
        | "sponsorship.edited"
        | "sponsorship.pending_cancellation"
        | "sponsorship.pending_tier_change"
        | "sponsorship.tier_changed"
        | "star"
        | "star.created"
        | "star.deleted"
        | "team"
        | "team.added_to_repository"
        | "team.created"
        | "team.deleted"
        | "team.edited"
        | "team.removed_from_repository"
        | "team_add"
        | "watch"
        | "watch.started"
        | "workflow_dispatch"
        | "workflow_job"
        | "workflow_job.completed"
        | "workflow_job.in_progress"
        | "workflow_job.queued"
        | "workflow_job.waiting"
        | "workflow_run"
        | "workflow_run.completed"
        | "workflow_run.in_progress"
        | "workflow_run.requested"]: K extends
            | "status"
            | "branch_protection_configuration"
            | "branch_protection_rule.disabled"
            | "branch_protection_rule.enabled"
            | "branch_protection_rule"
            | "branch_protection_rule.created"
            | "branch_protection_rule.deleted"
            | "branch_protection_rule.edited"
            | "check_run"
            | "check_run.completed"
            | "check_run.created"
            | "check_run.requested_action"
            | "check_run.rerequested"
            | "check_suite"
            | "check_suite.completed"
            | "check_suite.requested"
            | "check_suite.rerequested"
            | "code_scanning_alert"
            | "code_scanning_alert.appeared_in_branch"
            | "code_scanning_alert.closed_by_user"
            | "code_scanning_alert.created"
            | "code_scanning_alert.fixed"
            | "code_scanning_alert.reopened"
            | "code_scanning_alert.reopened_by_user"
            | "commit_comment"
            | "commit_comment.created"
            | "create"
            | "custom_property"
            | "custom_property.created"
            | "custom_property.deleted"
            | "custom_property_values"
            | "custom_property_values.updated"
            | "delete"
            | "dependabot_alert"
            | "dependabot_alert.created"
            | "dependabot_alert.dismissed"
            | "dependabot_alert.fixed"
            | "dependabot_alert.reintroduced"
            | "dependabot_alert.reopened"
            | "deploy_key"
            | "deploy_key.created"
            | "deploy_key.deleted"
            | "deployment"
            | "deployment.created"
            | "deployment_protection_rule"
            | "deployment_protection_rule.requested"
            | "deployment_review"
            | "deployment_review.approved"
            | "deployment_review.rejected"
            | "deployment_review.requested"
            | "deployment_status"
            | "deployment_status.created"
            | "discussion"
            | "discussion.answered"
            | "discussion.category_changed"
            | "discussion.created"
            | "discussion.deleted"
            | "discussion.edited"
            | "discussion.labeled"
            | "discussion.locked"
            | "discussion.pinned"
            | "discussion.transferred"
            | "discussion.unanswered"
            | "discussion.unlabeled"
            | "discussion.unlocked"
            | "discussion.unpinned"
            | "discussion_comment"
            | "discussion_comment.created"
            | "discussion_comment.deleted"
            | "discussion_comment.edited"
            | "fork"
            | "github_app_authorization"
            | "github_app_authorization.revoked"
            | "gollum"
            | "installation"
            | "installation.created"
            | "installation.deleted"
            | "installation.new_permissions_accepted"
            | "installation.suspend"
            | "installation.unsuspend"
            | "installation_repositories"
            | "installation_repositories.added"
            | "installation_repositories.removed"
            | "installation_target"
            | "installation_target.renamed"
            | "issue_comment"
            | "issue_comment.created"
            | "issue_comment.deleted"
            | "issue_comment.edited"
            | "issues"
            | "issues.assigned"
            | "issues.closed"
            | "issues.deleted"
            | "issues.demilestoned"
            | "issues.edited"
            | "issues.labeled"
            | "issues.locked"
            | "issues.milestoned"
            | "issues.opened"
            | "issues.pinned"
            | "issues.reopened"
            | "issues.transferred"
            | "issues.unassigned"
            | "issues.unlabeled"
            | "issues.unlocked"
            | "issues.unpinned"
            | "label"
            | "label.created"
            | "label.deleted"
            | "label.edited"
            | "marketplace_purchase"
            | "marketplace_purchase.cancelled"
            | "marketplace_purchase.changed"
            | "marketplace_purchase.pending_change"
            | "marketplace_purchase.pending_change_cancelled"
            | "marketplace_purchase.purchased"
            | "member"
            | "member.added"
            | "member.edited"
            | "member.removed"
            | "membership"
            | "membership.added"
            | "membership.removed"
            | "merge_group"
            | "merge_group.checks_requested"
            | "meta"
            | "meta.deleted"
            | "milestone"
            | "milestone.closed"
            | "milestone.created"
            | "milestone.deleted"
            | "milestone.edited"
            | "milestone.opened"
            | "org_block"
            | "org_block.blocked"
            | "org_block.unblocked"
            | "organization"
            | "organization.deleted"
            | "organization.member_added"
            | "organization.member_invited"
            | "organization.member_removed"
            | "organization.renamed"
            | "package"
            | "package.published"
            | "package.updated"
            | "page_build"
            | "ping"
            | "project"
            | "project.closed"
            | "project.created"
            | "project.deleted"
            | "project.edited"
            | "project.reopened"
            | "project_card"
            | "project_card.converted"
            | "project_card.created"
            | "project_card.deleted"
            | "project_card.edited"
            | "project_card.moved"
            | "project_column"
            | "project_column.created"
            | "project_column.deleted"
            | "project_column.edited"
            | "project_column.moved"
            | "projects_v2_item"
            | "projects_v2_item.archived"
            | "projects_v2_item.converted"
            | "projects_v2_item.created"
            | "projects_v2_item.deleted"
            | "projects_v2_item.edited"
            | "projects_v2_item.reordered"
            | "projects_v2_item.restored"
            | "public"
            | "pull_request"
            | "pull_request.assigned"
            | "pull_request.auto_merge_disabled"
            | "pull_request.auto_merge_enabled"
            | "pull_request.closed"
            | "pull_request.converted_to_draft"
            | "pull_request.demilestoned"
            | "pull_request.dequeued"
            | "pull_request.edited"
            | "pull_request.enqueued"
            | "pull_request.labeled"
            | "pull_request.locked"
            | "pull_request.milestoned"
            | "pull_request.opened"
            | "pull_request.ready_for_review"
            | "pull_request.reopened"
            | "pull_request.review_request_removed"
            | "pull_request.review_requested"
            | "pull_request.synchronize"
            | "pull_request.unassigned"
            | "pull_request.unlabeled"
            | "pull_request.unlocked"
            | "pull_request_review"
            | "pull_request_review.dismissed"
            | "pull_request_review.edited"
            | "pull_request_review.submitted"
            | "pull_request_review_comment"
            | "pull_request_review_comment.created"
            | "pull_request_review_comment.deleted"
            | "pull_request_review_comment.edited"
            | "pull_request_review_thread"
            | "pull_request_review_thread.resolved"
            | "pull_request_review_thread.unresolved"
            | "push"
            | "registry_package"
            | "registry_package.published"
            | "registry_package.updated"
            | "release"
            | "release.created"
            | "release.deleted"
            | "release.edited"
            | "release.prereleased"
            | "release.published"
            | "release.released"
            | "release.unpublished"
            | "repository"
            | "repository.archived"
            | "repository.created"
            | "repository.deleted"
            | "repository.edited"
            | "repository.privatized"
            | "repository.publicized"
            | "repository.renamed"
            | "repository.transferred"
            | "repository.unarchived"
            | "repository_dispatch"
            | "repository_import"
            | "repository_vulnerability_alert"
            | "repository_vulnerability_alert.create"
            | "repository_vulnerability_alert.dismiss"
            | "repository_vulnerability_alert.reopen"
            | "repository_vulnerability_alert.resolve"
            | "secret_scanning_alert"
            | "secret_scanning_alert.created"
            | "secret_scanning_alert.reopened"
            | "secret_scanning_alert.resolved"
            | "secret_scanning_alert.revoked"
            | "secret_scanning_alert_location"
            | "secret_scanning_alert_location.created"
            | "security_advisory"
            | "security_advisory.performed"
            | "security_advisory.published"
            | "security_advisory.updated"
            | "security_advisory.withdrawn"
            | "sponsorship"
            | "sponsorship.cancelled"
            | "sponsorship.created"
            | "sponsorship.edited"
            | "sponsorship.pending_cancellation"
            | "sponsorship.pending_tier_change"
            | "sponsorship.tier_changed"
            | "star"
            | "star.created"
            | "star.deleted"
            | "team"
            | "team.added_to_repository"
            | "team.created"
            | "team.deleted"
            | "team.edited"
            | "team.removed_from_repository"
            | "team_add"
            | "watch"
            | "watch.started"
            | "workflow_dispatch"
            | "workflow_job"
            | "workflow_job.completed"
            | "workflow_job.in_progress"
            | "workflow_job.queued"
            | "workflow_job.waiting"
            | "workflow_run"
            | "workflow_run.completed"
            | "workflow_run.in_progress"
            | "workflow_run.requested"
        ? EmitterWebhookEvent<K<K>>
        : never
}[Event]["payload"]

The webhook event payload

-

Accessors

  • get isBot(): boolean
  • Returns a boolean if the actor on the event was a bot.

    -

    Returns boolean

Methods

  • Reads the app configuration from the given YAML file in the .github +

Constructors

  • Type Parameters

    • Event extends
          | "status"
          | "branch_protection_configuration"
          | "branch_protection_configuration.disabled"
          | "branch_protection_configuration.enabled"
          | "branch_protection_rule"
          | "branch_protection_rule.created"
          | "branch_protection_rule.deleted"
          | "branch_protection_rule.edited"
          | "check_run"
          | "check_run.completed"
          | "check_run.created"
          | "check_run.requested_action"
          | "check_run.rerequested"
          | "check_suite"
          | "check_suite.completed"
          | "check_suite.requested"
          | "check_suite.rerequested"
          | "code_scanning_alert"
          | "code_scanning_alert.appeared_in_branch"
          | "code_scanning_alert.closed_by_user"
          | "code_scanning_alert.created"
          | "code_scanning_alert.fixed"
          | "code_scanning_alert.reopened"
          | "code_scanning_alert.reopened_by_user"
          | "commit_comment"
          | "commit_comment.created"
          | "create"
          | "custom_property"
          | "custom_property.created"
          | "custom_property.deleted"
          | "custom_property_values"
          | "custom_property_values.updated"
          | "delete"
          | "dependabot_alert"
          | "dependabot_alert.created"
          | "dependabot_alert.dismissed"
          | "dependabot_alert.fixed"
          | "dependabot_alert.reintroduced"
          | "dependabot_alert.reopened"
          | "deploy_key"
          | "deploy_key.created"
          | "deploy_key.deleted"
          | "deployment"
          | "deployment.created"
          | "deployment_protection_rule"
          | "deployment_protection_rule.requested"
          | "deployment_review"
          | "deployment_review.approved"
          | "deployment_review.rejected"
          | "deployment_review.requested"
          | "deployment_status"
          | "deployment_status.created"
          | "discussion"
          | "discussion.answered"
          | "discussion.category_changed"
          | "discussion.created"
          | "discussion.deleted"
          | "discussion.edited"
          | "discussion.labeled"
          | "discussion.locked"
          | "discussion.pinned"
          | "discussion.transferred"
          | "discussion.unanswered"
          | "discussion.unlabeled"
          | "discussion.unlocked"
          | "discussion.unpinned"
          | "discussion_comment"
          | "discussion_comment.created"
          | "discussion_comment.deleted"
          | "discussion_comment.edited"
          | "fork"
          | "github_app_authorization"
          | "github_app_authorization.revoked"
          | "gollum"
          | "installation"
          | "installation.created"
          | "installation.deleted"
          | "installation.new_permissions_accepted"
          | "installation.suspend"
          | "installation.unsuspend"
          | "installation_repositories"
          | "installation_repositories.added"
          | "installation_repositories.removed"
          | "installation_target"
          | "installation_target.renamed"
          | "issue_comment"
          | "issue_comment.created"
          | "issue_comment.deleted"
          | "issue_comment.edited"
          | "issues"
          | "issues.assigned"
          | "issues.closed"
          | "issues.deleted"
          | "issues.demilestoned"
          | "issues.edited"
          | "issues.labeled"
          | "issues.locked"
          | "issues.milestoned"
          | "issues.opened"
          | "issues.pinned"
          | "issues.reopened"
          | "issues.transferred"
          | "issues.unassigned"
          | "issues.unlabeled"
          | "issues.unlocked"
          | "issues.unpinned"
          | "label"
          | "label.created"
          | "label.deleted"
          | "label.edited"
          | "marketplace_purchase"
          | "marketplace_purchase.cancelled"
          | "marketplace_purchase.changed"
          | "marketplace_purchase.pending_change"
          | "marketplace_purchase.pending_change_cancelled"
          | "marketplace_purchase.purchased"
          | "member"
          | "member.added"
          | "member.edited"
          | "member.removed"
          | "membership"
          | "membership.added"
          | "membership.removed"
          | "merge_group"
          | "merge_group.checks_requested"
          | "merge_group.destroyed"
          | "meta"
          | "meta.deleted"
          | "milestone"
          | "milestone.closed"
          | "milestone.created"
          | "milestone.deleted"
          | "milestone.edited"
          | "milestone.opened"
          | "org_block"
          | "org_block.blocked"
          | "org_block.unblocked"
          | "organization"
          | "organization.deleted"
          | "organization.member_added"
          | "organization.member_invited"
          | "organization.member_removed"
          | "organization.renamed"
          | "package"
          | "package.published"
          | "package.updated"
          | "page_build"
          | "ping"
          | "project"
          | "project.closed"
          | "project.created"
          | "project.deleted"
          | "project.edited"
          | "project.reopened"
          | "project_card"
          | "project_card.converted"
          | "project_card.created"
          | "project_card.deleted"
          | "project_card.edited"
          | "project_card.moved"
          | "project_column"
          | "project_column.created"
          | "project_column.deleted"
          | "project_column.edited"
          | "project_column.moved"
          | "projects_v2_item"
          | "projects_v2_item.archived"
          | "projects_v2_item.converted"
          | "projects_v2_item.created"
          | "projects_v2_item.deleted"
          | "projects_v2_item.edited"
          | "projects_v2_item.reordered"
          | "projects_v2_item.restored"
          | "public"
          | "pull_request"
          | "pull_request.assigned"
          | "pull_request.auto_merge_disabled"
          | "pull_request.auto_merge_enabled"
          | "pull_request.closed"
          | "pull_request.converted_to_draft"
          | "pull_request.demilestoned"
          | "pull_request.dequeued"
          | "pull_request.edited"
          | "pull_request.enqueued"
          | "pull_request.labeled"
          | "pull_request.locked"
          | "pull_request.milestoned"
          | "pull_request.opened"
          | "pull_request.ready_for_review"
          | "pull_request.reopened"
          | "pull_request.review_request_removed"
          | "pull_request.review_requested"
          | "pull_request.synchronize"
          | "pull_request.unassigned"
          | "pull_request.unlabeled"
          | "pull_request.unlocked"
          | "pull_request_review"
          | "pull_request_review.dismissed"
          | "pull_request_review.edited"
          | "pull_request_review.submitted"
          | "pull_request_review_comment"
          | "pull_request_review_comment.created"
          | "pull_request_review_comment.deleted"
          | "pull_request_review_comment.edited"
          | "pull_request_review_thread"
          | "pull_request_review_thread.resolved"
          | "pull_request_review_thread.unresolved"
          | "push"
          | "registry_package"
          | "registry_package.published"
          | "registry_package.updated"
          | "release"
          | "release.created"
          | "release.deleted"
          | "release.edited"
          | "release.prereleased"
          | "release.published"
          | "release.released"
          | "release.unpublished"
          | "repository"
          | "repository.archived"
          | "repository.created"
          | "repository.deleted"
          | "repository.edited"
          | "repository.privatized"
          | "repository.publicized"
          | "repository.renamed"
          | "repository.transferred"
          | "repository.unarchived"
          | "repository_dispatch"
          | "repository_import"
          | "repository_vulnerability_alert"
          | "repository_vulnerability_alert.create"
          | "repository_vulnerability_alert.dismiss"
          | "repository_vulnerability_alert.reopen"
          | "repository_vulnerability_alert.resolve"
          | "secret_scanning_alert"
          | "secret_scanning_alert.created"
          | "secret_scanning_alert.reopened"
          | "secret_scanning_alert.resolved"
          | "secret_scanning_alert.revoked"
          | "secret_scanning_alert_location"
          | "secret_scanning_alert_location.created"
          | "security_advisory"
          | "security_advisory.performed"
          | "security_advisory.published"
          | "security_advisory.updated"
          | "security_advisory.withdrawn"
          | "sponsorship"
          | "sponsorship.cancelled"
          | "sponsorship.created"
          | "sponsorship.edited"
          | "sponsorship.pending_cancellation"
          | "sponsorship.pending_tier_change"
          | "sponsorship.tier_changed"
          | "star"
          | "star.created"
          | "star.deleted"
          | "team"
          | "team.added_to_repository"
          | "team.created"
          | "team.deleted"
          | "team.edited"
          | "team.removed_from_repository"
          | "team_add"
          | "watch"
          | "watch.started"
          | "workflow_dispatch"
          | "workflow_job"
          | "workflow_job.completed"
          | "workflow_job.in_progress"
          | "workflow_job.queued"
          | "workflow_job.waiting"
          | "workflow_run"
          | "workflow_run.completed"
          | "workflow_run.in_progress"
          | "workflow_run.requested" =
          | "status"
          | "branch_protection_configuration"
          | "branch_protection_configuration.disabled"
          | "branch_protection_configuration.enabled"
          | "branch_protection_rule"
          | "branch_protection_rule.created"
          | "branch_protection_rule.deleted"
          | "branch_protection_rule.edited"
          | "check_run"
          | "check_run.completed"
          | "check_run.created"
          | "check_run.requested_action"
          | "check_run.rerequested"
          | "check_suite"
          | "check_suite.completed"
          | "check_suite.requested"
          | "check_suite.rerequested"
          | "code_scanning_alert"
          | "code_scanning_alert.appeared_in_branch"
          | "code_scanning_alert.closed_by_user"
          | "code_scanning_alert.created"
          | "code_scanning_alert.fixed"
          | "code_scanning_alert.reopened"
          | "code_scanning_alert.reopened_by_user"
          | "commit_comment"
          | "commit_comment.created"
          | "create"
          | "custom_property"
          | "custom_property.created"
          | "custom_property.deleted"
          | "custom_property_values"
          | "custom_property_values.updated"
          | "delete"
          | "dependabot_alert"
          | "dependabot_alert.created"
          | "dependabot_alert.dismissed"
          | "dependabot_alert.fixed"
          | "dependabot_alert.reintroduced"
          | "dependabot_alert.reopened"
          | "deploy_key"
          | "deploy_key.created"
          | "deploy_key.deleted"
          | "deployment"
          | "deployment.created"
          | "deployment_protection_rule"
          | "deployment_protection_rule.requested"
          | "deployment_review"
          | "deployment_review.approved"
          | "deployment_review.rejected"
          | "deployment_review.requested"
          | "deployment_status"
          | "deployment_status.created"
          | "discussion"
          | "discussion.answered"
          | "discussion.category_changed"
          | "discussion.created"
          | "discussion.deleted"
          | "discussion.edited"
          | "discussion.labeled"
          | "discussion.locked"
          | "discussion.pinned"
          | "discussion.transferred"
          | "discussion.unanswered"
          | "discussion.unlabeled"
          | "discussion.unlocked"
          | "discussion.unpinned"
          | "discussion_comment"
          | "discussion_comment.created"
          | "discussion_comment.deleted"
          | "discussion_comment.edited"
          | "fork"
          | "github_app_authorization"
          | "github_app_authorization.revoked"
          | "gollum"
          | "installation"
          | "installation.created"
          | "installation.deleted"
          | "installation.new_permissions_accepted"
          | "installation.suspend"
          | "installation.unsuspend"
          | "installation_repositories"
          | "installation_repositories.added"
          | "installation_repositories.removed"
          | "installation_target"
          | "installation_target.renamed"
          | "issue_comment"
          | "issue_comment.created"
          | "issue_comment.deleted"
          | "issue_comment.edited"
          | "issues"
          | "issues.assigned"
          | "issues.closed"
          | "issues.deleted"
          | "issues.demilestoned"
          | "issues.edited"
          | "issues.labeled"
          | "issues.locked"
          | "issues.milestoned"
          | "issues.opened"
          | "issues.pinned"
          | "issues.reopened"
          | "issues.transferred"
          | "issues.unassigned"
          | "issues.unlabeled"
          | "issues.unlocked"
          | "issues.unpinned"
          | "label"
          | "label.created"
          | "label.deleted"
          | "label.edited"
          | "marketplace_purchase"
          | "marketplace_purchase.cancelled"
          | "marketplace_purchase.changed"
          | "marketplace_purchase.pending_change"
          | "marketplace_purchase.pending_change_cancelled"
          | "marketplace_purchase.purchased"
          | "member"
          | "member.added"
          | "member.edited"
          | "member.removed"
          | "membership"
          | "membership.added"
          | "membership.removed"
          | "merge_group"
          | "merge_group.checks_requested"
          | "merge_group.destroyed"
          | "meta"
          | "meta.deleted"
          | "milestone"
          | "milestone.closed"
          | "milestone.created"
          | "milestone.deleted"
          | "milestone.edited"
          | "milestone.opened"
          | "org_block"
          | "org_block.blocked"
          | "org_block.unblocked"
          | "organization"
          | "organization.deleted"
          | "organization.member_added"
          | "organization.member_invited"
          | "organization.member_removed"
          | "organization.renamed"
          | "package"
          | "package.published"
          | "package.updated"
          | "page_build"
          | "ping"
          | "project"
          | "project.closed"
          | "project.created"
          | "project.deleted"
          | "project.edited"
          | "project.reopened"
          | "project_card"
          | "project_card.converted"
          | "project_card.created"
          | "project_card.deleted"
          | "project_card.edited"
          | "project_card.moved"
          | "project_column"
          | "project_column.created"
          | "project_column.deleted"
          | "project_column.edited"
          | "project_column.moved"
          | "projects_v2_item"
          | "projects_v2_item.archived"
          | "projects_v2_item.converted"
          | "projects_v2_item.created"
          | "projects_v2_item.deleted"
          | "projects_v2_item.edited"
          | "projects_v2_item.reordered"
          | "projects_v2_item.restored"
          | "public"
          | "pull_request"
          | "pull_request.assigned"
          | "pull_request.auto_merge_disabled"
          | "pull_request.auto_merge_enabled"
          | "pull_request.closed"
          | "pull_request.converted_to_draft"
          | "pull_request.demilestoned"
          | "pull_request.dequeued"
          | "pull_request.edited"
          | "pull_request.enqueued"
          | "pull_request.labeled"
          | "pull_request.locked"
          | "pull_request.milestoned"
          | "pull_request.opened"
          | "pull_request.ready_for_review"
          | "pull_request.reopened"
          | "pull_request.review_request_removed"
          | "pull_request.review_requested"
          | "pull_request.synchronize"
          | "pull_request.unassigned"
          | "pull_request.unlabeled"
          | "pull_request.unlocked"
          | "pull_request_review"
          | "pull_request_review.dismissed"
          | "pull_request_review.edited"
          | "pull_request_review.submitted"
          | "pull_request_review_comment"
          | "pull_request_review_comment.created"
          | "pull_request_review_comment.deleted"
          | "pull_request_review_comment.edited"
          | "pull_request_review_thread"
          | "pull_request_review_thread.resolved"
          | "pull_request_review_thread.unresolved"
          | "push"
          | "registry_package"
          | "registry_package.published"
          | "registry_package.updated"
          | "release"
          | "release.created"
          | "release.deleted"
          | "release.edited"
          | "release.prereleased"
          | "release.published"
          | "release.released"
          | "release.unpublished"
          | "repository"
          | "repository.archived"
          | "repository.created"
          | "repository.deleted"
          | "repository.edited"
          | "repository.privatized"
          | "repository.publicized"
          | "repository.renamed"
          | "repository.transferred"
          | "repository.unarchived"
          | "repository_dispatch"
          | "repository_import"
          | "repository_vulnerability_alert"
          | "repository_vulnerability_alert.create"
          | "repository_vulnerability_alert.dismiss"
          | "repository_vulnerability_alert.reopen"
          | "repository_vulnerability_alert.resolve"
          | "secret_scanning_alert"
          | "secret_scanning_alert.created"
          | "secret_scanning_alert.reopened"
          | "secret_scanning_alert.resolved"
          | "secret_scanning_alert.revoked"
          | "secret_scanning_alert_location"
          | "secret_scanning_alert_location.created"
          | "security_advisory"
          | "security_advisory.performed"
          | "security_advisory.published"
          | "security_advisory.updated"
          | "security_advisory.withdrawn"
          | "sponsorship"
          | "sponsorship.cancelled"
          | "sponsorship.created"
          | "sponsorship.edited"
          | "sponsorship.pending_cancellation"
          | "sponsorship.pending_tier_change"
          | "sponsorship.tier_changed"
          | "star"
          | "star.created"
          | "star.deleted"
          | "team"
          | "team.added_to_repository"
          | "team.created"
          | "team.deleted"
          | "team.edited"
          | "team.removed_from_repository"
          | "team_add"
          | "watch"
          | "watch.started"
          | "workflow_dispatch"
          | "workflow_job"
          | "workflow_job.completed"
          | "workflow_job.in_progress"
          | "workflow_job.queued"
          | "workflow_job.waiting"
          | "workflow_run"
          | "workflow_run.completed"
          | "workflow_run.in_progress"
          | "workflow_run.requested"

    Parameters

    • event: EmitterWebhookEvent<Event>
    • octokit: Octokit & {} & {} & RestEndpointMethods & Api & API
    • log: Logger

    Returns Context<Event>

Properties

id: string
log: Logger

A pino instance

+
name:
    | "status"
    | "branch_protection_configuration"
    | "branch_protection_configuration.disabled"
    | "branch_protection_configuration.enabled"
    | "branch_protection_rule"
    | "branch_protection_rule.created"
    | "branch_protection_rule.deleted"
    | "branch_protection_rule.edited"
    | "check_run"
    | "check_run.completed"
    | "check_run.created"
    | "check_run.requested_action"
    | "check_run.rerequested"
    | "check_suite"
    | "check_suite.completed"
    | "check_suite.requested"
    | "check_suite.rerequested"
    | "code_scanning_alert"
    | "code_scanning_alert.appeared_in_branch"
    | "code_scanning_alert.closed_by_user"
    | "code_scanning_alert.created"
    | "code_scanning_alert.fixed"
    | "code_scanning_alert.reopened"
    | "code_scanning_alert.reopened_by_user"
    | "commit_comment"
    | "commit_comment.created"
    | "create"
    | "custom_property"
    | "custom_property.created"
    | "custom_property.deleted"
    | "custom_property_values"
    | "custom_property_values.updated"
    | "delete"
    | "dependabot_alert"
    | "dependabot_alert.created"
    | "dependabot_alert.dismissed"
    | "dependabot_alert.fixed"
    | "dependabot_alert.reintroduced"
    | "dependabot_alert.reopened"
    | "deploy_key"
    | "deploy_key.created"
    | "deploy_key.deleted"
    | "deployment"
    | "deployment.created"
    | "deployment_protection_rule"
    | "deployment_protection_rule.requested"
    | "deployment_review"
    | "deployment_review.approved"
    | "deployment_review.rejected"
    | "deployment_review.requested"
    | "deployment_status"
    | "deployment_status.created"
    | "discussion"
    | "discussion.answered"
    | "discussion.category_changed"
    | "discussion.created"
    | "discussion.deleted"
    | "discussion.edited"
    | "discussion.labeled"
    | "discussion.locked"
    | "discussion.pinned"
    | "discussion.transferred"
    | "discussion.unanswered"
    | "discussion.unlabeled"
    | "discussion.unlocked"
    | "discussion.unpinned"
    | "discussion_comment"
    | "discussion_comment.created"
    | "discussion_comment.deleted"
    | "discussion_comment.edited"
    | "fork"
    | "github_app_authorization"
    | "github_app_authorization.revoked"
    | "gollum"
    | "installation"
    | "installation.created"
    | "installation.deleted"
    | "installation.new_permissions_accepted"
    | "installation.suspend"
    | "installation.unsuspend"
    | "installation_repositories"
    | "installation_repositories.added"
    | "installation_repositories.removed"
    | "installation_target"
    | "installation_target.renamed"
    | "issue_comment"
    | "issue_comment.created"
    | "issue_comment.deleted"
    | "issue_comment.edited"
    | "issues"
    | "issues.assigned"
    | "issues.closed"
    | "issues.deleted"
    | "issues.demilestoned"
    | "issues.edited"
    | "issues.labeled"
    | "issues.locked"
    | "issues.milestoned"
    | "issues.opened"
    | "issues.pinned"
    | "issues.reopened"
    | "issues.transferred"
    | "issues.unassigned"
    | "issues.unlabeled"
    | "issues.unlocked"
    | "issues.unpinned"
    | "label"
    | "label.created"
    | "label.deleted"
    | "label.edited"
    | "marketplace_purchase"
    | "marketplace_purchase.cancelled"
    | "marketplace_purchase.changed"
    | "marketplace_purchase.pending_change"
    | "marketplace_purchase.pending_change_cancelled"
    | "marketplace_purchase.purchased"
    | "member"
    | "member.added"
    | "member.edited"
    | "member.removed"
    | "membership"
    | "membership.added"
    | "membership.removed"
    | "merge_group"
    | "merge_group.checks_requested"
    | "merge_group.destroyed"
    | "meta"
    | "meta.deleted"
    | "milestone"
    | "milestone.closed"
    | "milestone.created"
    | "milestone.deleted"
    | "milestone.edited"
    | "milestone.opened"
    | "org_block"
    | "org_block.blocked"
    | "org_block.unblocked"
    | "organization"
    | "organization.deleted"
    | "organization.member_added"
    | "organization.member_invited"
    | "organization.member_removed"
    | "organization.renamed"
    | "package"
    | "package.published"
    | "package.updated"
    | "page_build"
    | "ping"
    | "project"
    | "project.closed"
    | "project.created"
    | "project.deleted"
    | "project.edited"
    | "project.reopened"
    | "project_card"
    | "project_card.converted"
    | "project_card.created"
    | "project_card.deleted"
    | "project_card.edited"
    | "project_card.moved"
    | "project_column"
    | "project_column.created"
    | "project_column.deleted"
    | "project_column.edited"
    | "project_column.moved"
    | "projects_v2_item"
    | "projects_v2_item.archived"
    | "projects_v2_item.converted"
    | "projects_v2_item.created"
    | "projects_v2_item.deleted"
    | "projects_v2_item.edited"
    | "projects_v2_item.reordered"
    | "projects_v2_item.restored"
    | "public"
    | "pull_request"
    | "pull_request.assigned"
    | "pull_request.auto_merge_disabled"
    | "pull_request.auto_merge_enabled"
    | "pull_request.closed"
    | "pull_request.converted_to_draft"
    | "pull_request.demilestoned"
    | "pull_request.dequeued"
    | "pull_request.edited"
    | "pull_request.enqueued"
    | "pull_request.labeled"
    | "pull_request.locked"
    | "pull_request.milestoned"
    | "pull_request.opened"
    | "pull_request.ready_for_review"
    | "pull_request.reopened"
    | "pull_request.review_request_removed"
    | "pull_request.review_requested"
    | "pull_request.synchronize"
    | "pull_request.unassigned"
    | "pull_request.unlabeled"
    | "pull_request.unlocked"
    | "pull_request_review"
    | "pull_request_review.dismissed"
    | "pull_request_review.edited"
    | "pull_request_review.submitted"
    | "pull_request_review_comment"
    | "pull_request_review_comment.created"
    | "pull_request_review_comment.deleted"
    | "pull_request_review_comment.edited"
    | "pull_request_review_thread"
    | "pull_request_review_thread.resolved"
    | "pull_request_review_thread.unresolved"
    | "push"
    | "registry_package"
    | "registry_package.published"
    | "registry_package.updated"
    | "release"
    | "release.created"
    | "release.deleted"
    | "release.edited"
    | "release.prereleased"
    | "release.published"
    | "release.released"
    | "release.unpublished"
    | "repository"
    | "repository.archived"
    | "repository.created"
    | "repository.deleted"
    | "repository.edited"
    | "repository.privatized"
    | "repository.publicized"
    | "repository.renamed"
    | "repository.transferred"
    | "repository.unarchived"
    | "repository_dispatch"
    | "repository_import"
    | "repository_vulnerability_alert"
    | "repository_vulnerability_alert.create"
    | "repository_vulnerability_alert.dismiss"
    | "repository_vulnerability_alert.reopen"
    | "repository_vulnerability_alert.resolve"
    | "secret_scanning_alert"
    | "secret_scanning_alert.created"
    | "secret_scanning_alert.reopened"
    | "secret_scanning_alert.resolved"
    | "secret_scanning_alert.revoked"
    | "secret_scanning_alert_location"
    | "secret_scanning_alert_location.created"
    | "security_advisory"
    | "security_advisory.performed"
    | "security_advisory.published"
    | "security_advisory.updated"
    | "security_advisory.withdrawn"
    | "sponsorship"
    | "sponsorship.cancelled"
    | "sponsorship.created"
    | "sponsorship.edited"
    | "sponsorship.pending_cancellation"
    | "sponsorship.pending_tier_change"
    | "sponsorship.tier_changed"
    | "star"
    | "star.created"
    | "star.deleted"
    | "team"
    | "team.added_to_repository"
    | "team.created"
    | "team.deleted"
    | "team.edited"
    | "team.removed_from_repository"
    | "team_add"
    | "watch"
    | "watch.started"
    | "workflow_dispatch"
    | "workflow_job"
    | "workflow_job.completed"
    | "workflow_job.in_progress"
    | "workflow_job.queued"
    | "workflow_job.waiting"
    | "workflow_run"
    | "workflow_run.completed"
    | "workflow_run.in_progress"
    | "workflow_run.requested"
octokit: Octokit & {} & {} & RestEndpointMethods & Api & API

An Octokit instance

+
payload: {
    [K in
        | "status"
        | "branch_protection_configuration"
        | "branch_protection_configuration.disabled"
        | "branch_protection_configuration.enabled"
        | "branch_protection_rule"
        | "branch_protection_rule.created"
        | "branch_protection_rule.deleted"
        | "branch_protection_rule.edited"
        | "check_run"
        | "check_run.completed"
        | "check_run.created"
        | "check_run.requested_action"
        | "check_run.rerequested"
        | "check_suite"
        | "check_suite.completed"
        | "check_suite.requested"
        | "check_suite.rerequested"
        | "code_scanning_alert"
        | "code_scanning_alert.appeared_in_branch"
        | "code_scanning_alert.closed_by_user"
        | "code_scanning_alert.created"
        | "code_scanning_alert.fixed"
        | "code_scanning_alert.reopened"
        | "code_scanning_alert.reopened_by_user"
        | "commit_comment"
        | "commit_comment.created"
        | "create"
        | "custom_property"
        | "custom_property.created"
        | "custom_property.deleted"
        | "custom_property_values"
        | "custom_property_values.updated"
        | "delete"
        | "dependabot_alert"
        | "dependabot_alert.created"
        | "dependabot_alert.dismissed"
        | "dependabot_alert.fixed"
        | "dependabot_alert.reintroduced"
        | "dependabot_alert.reopened"
        | "deploy_key"
        | "deploy_key.created"
        | "deploy_key.deleted"
        | "deployment"
        | "deployment.created"
        | "deployment_protection_rule"
        | "deployment_protection_rule.requested"
        | "deployment_review"
        | "deployment_review.approved"
        | "deployment_review.rejected"
        | "deployment_review.requested"
        | "deployment_status"
        | "deployment_status.created"
        | "discussion"
        | "discussion.answered"
        | "discussion.category_changed"
        | "discussion.created"
        | "discussion.deleted"
        | "discussion.edited"
        | "discussion.labeled"
        | "discussion.locked"
        | "discussion.pinned"
        | "discussion.transferred"
        | "discussion.unanswered"
        | "discussion.unlabeled"
        | "discussion.unlocked"
        | "discussion.unpinned"
        | "discussion_comment"
        | "discussion_comment.created"
        | "discussion_comment.deleted"
        | "discussion_comment.edited"
        | "fork"
        | "github_app_authorization"
        | "github_app_authorization.revoked"
        | "gollum"
        | "installation"
        | "installation.created"
        | "installation.deleted"
        | "installation.new_permissions_accepted"
        | "installation.suspend"
        | "installation.unsuspend"
        | "installation_repositories"
        | "installation_repositories.added"
        | "installation_repositories.removed"
        | "installation_target"
        | "installation_target.renamed"
        | "issue_comment"
        | "issue_comment.created"
        | "issue_comment.deleted"
        | "issue_comment.edited"
        | "issues"
        | "issues.assigned"
        | "issues.closed"
        | "issues.deleted"
        | "issues.demilestoned"
        | "issues.edited"
        | "issues.labeled"
        | "issues.locked"
        | "issues.milestoned"
        | "issues.opened"
        | "issues.pinned"
        | "issues.reopened"
        | "issues.transferred"
        | "issues.unassigned"
        | "issues.unlabeled"
        | "issues.unlocked"
        | "issues.unpinned"
        | "label"
        | "label.created"
        | "label.deleted"
        | "label.edited"
        | "marketplace_purchase"
        | "marketplace_purchase.cancelled"
        | "marketplace_purchase.changed"
        | "marketplace_purchase.pending_change"
        | "marketplace_purchase.pending_change_cancelled"
        | "marketplace_purchase.purchased"
        | "member"
        | "member.added"
        | "member.edited"
        | "member.removed"
        | "membership"
        | "membership.added"
        | "membership.removed"
        | "merge_group"
        | "merge_group.checks_requested"
        | "merge_group.destroyed"
        | "meta"
        | "meta.deleted"
        | "milestone"
        | "milestone.closed"
        | "milestone.created"
        | "milestone.deleted"
        | "milestone.edited"
        | "milestone.opened"
        | "org_block"
        | "org_block.blocked"
        | "org_block.unblocked"
        | "organization"
        | "organization.deleted"
        | "organization.member_added"
        | "organization.member_invited"
        | "organization.member_removed"
        | "organization.renamed"
        | "package"
        | "package.published"
        | "package.updated"
        | "page_build"
        | "ping"
        | "project"
        | "project.closed"
        | "project.created"
        | "project.deleted"
        | "project.edited"
        | "project.reopened"
        | "project_card"
        | "project_card.converted"
        | "project_card.created"
        | "project_card.deleted"
        | "project_card.edited"
        | "project_card.moved"
        | "project_column"
        | "project_column.created"
        | "project_column.deleted"
        | "project_column.edited"
        | "project_column.moved"
        | "projects_v2_item"
        | "projects_v2_item.archived"
        | "projects_v2_item.converted"
        | "projects_v2_item.created"
        | "projects_v2_item.deleted"
        | "projects_v2_item.edited"
        | "projects_v2_item.reordered"
        | "projects_v2_item.restored"
        | "public"
        | "pull_request"
        | "pull_request.assigned"
        | "pull_request.auto_merge_disabled"
        | "pull_request.auto_merge_enabled"
        | "pull_request.closed"
        | "pull_request.converted_to_draft"
        | "pull_request.demilestoned"
        | "pull_request.dequeued"
        | "pull_request.edited"
        | "pull_request.enqueued"
        | "pull_request.labeled"
        | "pull_request.locked"
        | "pull_request.milestoned"
        | "pull_request.opened"
        | "pull_request.ready_for_review"
        | "pull_request.reopened"
        | "pull_request.review_request_removed"
        | "pull_request.review_requested"
        | "pull_request.synchronize"
        | "pull_request.unassigned"
        | "pull_request.unlabeled"
        | "pull_request.unlocked"
        | "pull_request_review"
        | "pull_request_review.dismissed"
        | "pull_request_review.edited"
        | "pull_request_review.submitted"
        | "pull_request_review_comment"
        | "pull_request_review_comment.created"
        | "pull_request_review_comment.deleted"
        | "pull_request_review_comment.edited"
        | "pull_request_review_thread"
        | "pull_request_review_thread.resolved"
        | "pull_request_review_thread.unresolved"
        | "push"
        | "registry_package"
        | "registry_package.published"
        | "registry_package.updated"
        | "release"
        | "release.created"
        | "release.deleted"
        | "release.edited"
        | "release.prereleased"
        | "release.published"
        | "release.released"
        | "release.unpublished"
        | "repository"
        | "repository.archived"
        | "repository.created"
        | "repository.deleted"
        | "repository.edited"
        | "repository.privatized"
        | "repository.publicized"
        | "repository.renamed"
        | "repository.transferred"
        | "repository.unarchived"
        | "repository_dispatch"
        | "repository_import"
        | "repository_vulnerability_alert"
        | "repository_vulnerability_alert.create"
        | "repository_vulnerability_alert.dismiss"
        | "repository_vulnerability_alert.reopen"
        | "repository_vulnerability_alert.resolve"
        | "secret_scanning_alert"
        | "secret_scanning_alert.created"
        | "secret_scanning_alert.reopened"
        | "secret_scanning_alert.resolved"
        | "secret_scanning_alert.revoked"
        | "secret_scanning_alert_location"
        | "secret_scanning_alert_location.created"
        | "security_advisory"
        | "security_advisory.performed"
        | "security_advisory.published"
        | "security_advisory.updated"
        | "security_advisory.withdrawn"
        | "sponsorship"
        | "sponsorship.cancelled"
        | "sponsorship.created"
        | "sponsorship.edited"
        | "sponsorship.pending_cancellation"
        | "sponsorship.pending_tier_change"
        | "sponsorship.tier_changed"
        | "star"
        | "star.created"
        | "star.deleted"
        | "team"
        | "team.added_to_repository"
        | "team.created"
        | "team.deleted"
        | "team.edited"
        | "team.removed_from_repository"
        | "team_add"
        | "watch"
        | "watch.started"
        | "workflow_dispatch"
        | "workflow_job"
        | "workflow_job.completed"
        | "workflow_job.in_progress"
        | "workflow_job.queued"
        | "workflow_job.waiting"
        | "workflow_run"
        | "workflow_run.completed"
        | "workflow_run.in_progress"
        | "workflow_run.requested"]: K extends
            | "status"
            | "branch_protection_configuration"
            | "branch_protection_configuration.disabled"
            | "branch_protection_configuration.enabled"
            | "branch_protection_rule"
            | "branch_protection_rule.created"
            | "branch_protection_rule.deleted"
            | "branch_protection_rule.edited"
            | "check_run"
            | "check_run.completed"
            | "check_run.created"
            | "check_run.requested_action"
            | "check_run.rerequested"
            | "check_suite"
            | "check_suite.completed"
            | "check_suite.requested"
            | "check_suite.rerequested"
            | "code_scanning_alert"
            | "code_scanning_alert.appeared_in_branch"
            | "code_scanning_alert.closed_by_user"
            | "code_scanning_alert.created"
            | "code_scanning_alert.fixed"
            | "code_scanning_alert.reopened"
            | "code_scanning_alert.reopened_by_user"
            | "commit_comment"
            | "commit_comment.created"
            | "create"
            | "custom_property"
            | "custom_property.created"
            | "custom_property.deleted"
            | "custom_property_values"
            | "custom_property_values.updated"
            | "delete"
            | "dependabot_alert"
            | "dependabot_alert.created"
            | "dependabot_alert.dismissed"
            | "dependabot_alert.fixed"
            | "dependabot_alert.reintroduced"
            | "dependabot_alert.reopened"
            | "deploy_key"
            | "deploy_key.created"
            | "deploy_key.deleted"
            | "deployment"
            | "deployment.created"
            | "deployment_protection_rule"
            | "deployment_protection_rule.requested"
            | "deployment_review"
            | "deployment_review.approved"
            | "deployment_review.rejected"
            | "deployment_review.requested"
            | "deployment_status"
            | "deployment_status.created"
            | "discussion"
            | "discussion.answered"
            | "discussion.category_changed"
            | "discussion.created"
            | "discussion.deleted"
            | "discussion.edited"
            | "discussion.labeled"
            | "discussion.locked"
            | "discussion.pinned"
            | "discussion.transferred"
            | "discussion.unanswered"
            | "discussion.unlabeled"
            | "discussion.unlocked"
            | "discussion.unpinned"
            | "discussion_comment"
            | "discussion_comment.created"
            | "discussion_comment.deleted"
            | "discussion_comment.edited"
            | "fork"
            | "github_app_authorization"
            | "github_app_authorization.revoked"
            | "gollum"
            | "installation"
            | "installation.created"
            | "installation.deleted"
            | "installation.new_permissions_accepted"
            | "installation.suspend"
            | "installation.unsuspend"
            | "installation_repositories"
            | "installation_repositories.added"
            | "installation_repositories.removed"
            | "installation_target"
            | "installation_target.renamed"
            | "issue_comment"
            | "issue_comment.created"
            | "issue_comment.deleted"
            | "issue_comment.edited"
            | "issues"
            | "issues.assigned"
            | "issues.closed"
            | "issues.deleted"
            | "issues.demilestoned"
            | "issues.edited"
            | "issues.labeled"
            | "issues.locked"
            | "issues.milestoned"
            | "issues.opened"
            | "issues.pinned"
            | "issues.reopened"
            | "issues.transferred"
            | "issues.unassigned"
            | "issues.unlabeled"
            | "issues.unlocked"
            | "issues.unpinned"
            | "label"
            | "label.created"
            | "label.deleted"
            | "label.edited"
            | "marketplace_purchase"
            | "marketplace_purchase.cancelled"
            | "marketplace_purchase.changed"
            | "marketplace_purchase.pending_change"
            | "marketplace_purchase.pending_change_cancelled"
            | "marketplace_purchase.purchased"
            | "member"
            | "member.added"
            | "member.edited"
            | "member.removed"
            | "membership"
            | "membership.added"
            | "membership.removed"
            | "merge_group"
            | "merge_group.checks_requested"
            | "merge_group.destroyed"
            | "meta"
            | "meta.deleted"
            | "milestone"
            | "milestone.closed"
            | "milestone.created"
            | "milestone.deleted"
            | "milestone.edited"
            | "milestone.opened"
            | "org_block"
            | "org_block.blocked"
            | "org_block.unblocked"
            | "organization"
            | "organization.deleted"
            | "organization.member_added"
            | "organization.member_invited"
            | "organization.member_removed"
            | "organization.renamed"
            | "package"
            | "package.published"
            | "package.updated"
            | "page_build"
            | "ping"
            | "project"
            | "project.closed"
            | "project.created"
            | "project.deleted"
            | "project.edited"
            | "project.reopened"
            | "project_card"
            | "project_card.converted"
            | "project_card.created"
            | "project_card.deleted"
            | "project_card.edited"
            | "project_card.moved"
            | "project_column"
            | "project_column.created"
            | "project_column.deleted"
            | "project_column.edited"
            | "project_column.moved"
            | "projects_v2_item"
            | "projects_v2_item.archived"
            | "projects_v2_item.converted"
            | "projects_v2_item.created"
            | "projects_v2_item.deleted"
            | "projects_v2_item.edited"
            | "projects_v2_item.reordered"
            | "projects_v2_item.restored"
            | "public"
            | "pull_request"
            | "pull_request.assigned"
            | "pull_request.auto_merge_disabled"
            | "pull_request.auto_merge_enabled"
            | "pull_request.closed"
            | "pull_request.converted_to_draft"
            | "pull_request.demilestoned"
            | "pull_request.dequeued"
            | "pull_request.edited"
            | "pull_request.enqueued"
            | "pull_request.labeled"
            | "pull_request.locked"
            | "pull_request.milestoned"
            | "pull_request.opened"
            | "pull_request.ready_for_review"
            | "pull_request.reopened"
            | "pull_request.review_request_removed"
            | "pull_request.review_requested"
            | "pull_request.synchronize"
            | "pull_request.unassigned"
            | "pull_request.unlabeled"
            | "pull_request.unlocked"
            | "pull_request_review"
            | "pull_request_review.dismissed"
            | "pull_request_review.edited"
            | "pull_request_review.submitted"
            | "pull_request_review_comment"
            | "pull_request_review_comment.created"
            | "pull_request_review_comment.deleted"
            | "pull_request_review_comment.edited"
            | "pull_request_review_thread"
            | "pull_request_review_thread.resolved"
            | "pull_request_review_thread.unresolved"
            | "push"
            | "registry_package"
            | "registry_package.published"
            | "registry_package.updated"
            | "release"
            | "release.created"
            | "release.deleted"
            | "release.edited"
            | "release.prereleased"
            | "release.published"
            | "release.released"
            | "release.unpublished"
            | "repository"
            | "repository.archived"
            | "repository.created"
            | "repository.deleted"
            | "repository.edited"
            | "repository.privatized"
            | "repository.publicized"
            | "repository.renamed"
            | "repository.transferred"
            | "repository.unarchived"
            | "repository_dispatch"
            | "repository_import"
            | "repository_vulnerability_alert"
            | "repository_vulnerability_alert.create"
            | "repository_vulnerability_alert.dismiss"
            | "repository_vulnerability_alert.reopen"
            | "repository_vulnerability_alert.resolve"
            | "secret_scanning_alert"
            | "secret_scanning_alert.created"
            | "secret_scanning_alert.reopened"
            | "secret_scanning_alert.resolved"
            | "secret_scanning_alert.revoked"
            | "secret_scanning_alert_location"
            | "secret_scanning_alert_location.created"
            | "security_advisory"
            | "security_advisory.performed"
            | "security_advisory.published"
            | "security_advisory.updated"
            | "security_advisory.withdrawn"
            | "sponsorship"
            | "sponsorship.cancelled"
            | "sponsorship.created"
            | "sponsorship.edited"
            | "sponsorship.pending_cancellation"
            | "sponsorship.pending_tier_change"
            | "sponsorship.tier_changed"
            | "star"
            | "star.created"
            | "star.deleted"
            | "team"
            | "team.added_to_repository"
            | "team.created"
            | "team.deleted"
            | "team.edited"
            | "team.removed_from_repository"
            | "team_add"
            | "watch"
            | "watch.started"
            | "workflow_dispatch"
            | "workflow_job"
            | "workflow_job.completed"
            | "workflow_job.in_progress"
            | "workflow_job.queued"
            | "workflow_job.waiting"
            | "workflow_run"
            | "workflow_run.completed"
            | "workflow_run.in_progress"
            | "workflow_run.requested"
        ? EmitterWebhookEvent<K<K>>
        : never
}[Event]["payload"]

The webhook event payload

+

Accessors

  • get isBot(): boolean
  • Returns a boolean if the actor on the event was a bot.

    +

    Returns boolean

Methods

  • Reads the app configuration from the given YAML file in the .github directory of the repository.

    For example, given a file named .github/config.yml:

    close: true
    @@ -43,25 +43,25 @@
     
  • OptionaldefaultConfig: T

    An object of default config options

  • OptionaldeepMergeOptions: Options

    Controls merging configs (from the deepmerge module)

Returns Promise<null | T>

Configuration object read from the file

-
  • Return the owner, repo, and issue_number params for making API requests +

  • Return the owner, repo, and issue_number params for making API requests against an issue. The object passed in will be merged with the repo params.

    const params = context.issue({body: 'Hello World!'})
    // Returns: {owner: 'username', repo: 'reponame', issue_number: 123, body: 'Hello World!'}

    Type Parameters

    • T

    Parameters

    • Optionalobject: T

      Params to be merged with the issue params.

      -

    Returns RepoResultType<Event> & {
        issue_number: RepoIssueNumberType<Event>;
    } & T

  • Return the owner, repo, and pull_number params for making API requests +

Returns RepoResultType<Event> & {
    issue_number: RepoIssueNumberType<Event>;
} & T

  • Return the owner, repo, and pull_number params for making API requests against a pull request. The object passed in will be merged with the repo params.

    const params = context.pullRequest({body: 'Hello World!'})
    // Returns: {owner: 'username', repo: 'reponame', pull_number: 123, body: 'Hello World!'}

    Type Parameters

    • T

    Parameters

    • Optionalobject: T

      Params to be merged with the pull request params.

      -

    Returns RepoResultType<Event> & {
        pull_number: RepoIssueNumberType<Event>;
    } & T

  • Return the owner and repo params for making API requests against a +

Returns RepoResultType<Event> & {
    pull_number: RepoIssueNumberType<Event>;
} & T

  • Return the owner and repo params for making API requests against a repository.

    const params = context.repo({path: '.github/config.yml'})
    // Returns: {owner: 'username', repo: 'reponame', path: '.github/config.yml'}

    Type Parameters

    • T

    Parameters

    • Optionalobject: T

      Params to be merged with the repo params.

      -

    Returns RepoResultType<Event> & T

diff --git a/api/13.3.8/classes/manifest_creation.ManifestCreation.html b/api/13.3.8/classes/manifest_creation.ManifestCreation.html index 4ae411b9ebd..63c8536917a 100644 --- a/api/13.3.8/classes/manifest_creation.ManifestCreation.html +++ b/api/13.3.8/classes/manifest_creation.ManifestCreation.html @@ -1,11 +1,11 @@ -ManifestCreation | probot

Constructors

constructor +ManifestCreation | probot

Constructors

Accessors

Methods

  • Parameters

    • code: string
    • OptionalprobotOptions: OctokitOptions

    Returns Promise<any>

diff --git a/api/13.3.8/classes/probot.Probot.html b/api/13.3.8/classes/probot.Probot.html index 17c993cc6e5..ff7c2fbca8a 100644 --- a/api/13.3.8/classes/probot.Probot.html +++ b/api/13.3.8/classes/probot.Probot.html @@ -1,4 +1,4 @@ -Probot | probot

Class Probot

Constructors

constructor +Probot | probot

Class Probot

Constructors

Properties

auth log on @@ -11,7 +11,7 @@

Methods

Constructors

Properties

auth: ((installationId?: number, log?: Logger) => Promise<Octokit & {} & {} & RestEndpointMethods & Api & API>)
log: Logger
on: (<E>(event: E | E[], callback: HandlerFunction<E, SimplifiedObject>) => void)
onAny: ((callback: ((event: EmitterWebhookEvent) => any)) => void)
onError: ((callback: ((event: WebhookEventHandlerError<SimplifiedObject>) => any)) => void)
version: String
webhookPath: string
webhooks: ProbotWebhooks
version: string = VERSION

Methods

  • Parameters

    • event: EmitterWebhookEvent

    Returns Promise<void>

diff --git a/api/13.3.8/classes/server_server.Server.html b/api/13.3.8/classes/server_server.Server.html index 1a2a41cacf3..374ceb95243 100644 --- a/api/13.3.8/classes/server_server.Server.html +++ b/api/13.3.8/classes/server_server.Server.html @@ -1,4 +1,4 @@ -Server | probot

Constructors

constructor +Server | probot

Constructors

Properties

Constructors

Properties

expressApp: Application
log: Logger
probotApp: Probot
version: string = VERSION
version: string = VERSION

Methods

  • Returns Promise<Server<typeof IncomingMessage, typeof ServerResponse>>

diff --git a/api/13.3.8/functions/apps_default.defaultApp.html b/api/13.3.8/functions/apps_default.defaultApp.html index 9f66065c57a..8fd159530de 100644 --- a/api/13.3.8/functions/apps_default.defaultApp.html +++ b/api/13.3.8/functions/apps_default.defaultApp.html @@ -1,4 +1,4 @@ -defaultApp | probot

Function defaultApp

Function defaultApp

diff --git a/api/13.3.8/functions/apps_setup.setupAppFactory.html b/api/13.3.8/functions/apps_setup.setupAppFactory.html index 6b03691017c..8b50ec20c1a 100644 --- a/api/13.3.8/functions/apps_setup.setupAppFactory.html +++ b/api/13.3.8/functions/apps_setup.setupAppFactory.html @@ -1,4 +1,4 @@ -setupAppFactory | probot

Function setupAppFactory

Function setupAppFactory

diff --git a/api/13.3.8/functions/auth.auth.html b/api/13.3.8/functions/auth.auth.html index 6cdcfcd90e8..a1915b07a06 100644 --- a/api/13.3.8/functions/auth.auth.html +++ b/api/13.3.8/functions/auth.auth.html @@ -8,7 +8,7 @@

Parameters

  • state: State

    Probot application instance state, which is used to persist

  • OptionalinstallationId: number

Returns Promise<InstanceType<typeof ProbotOctokit>>

An authenticated GitHub API client

-
diff --git a/api/13.3.8/functions/bin_read_cli_options.readCliOptions.html b/api/13.3.8/functions/bin_read_cli_options.readCliOptions.html index 4a81462136e..894d6c235f5 100644 --- a/api/13.3.8/functions/bin_read_cli_options.readCliOptions.html +++ b/api/13.3.8/functions/bin_read_cli_options.readCliOptions.html @@ -1,4 +1,4 @@ -readCliOptions | probot
diff --git a/api/13.3.8/functions/bin_read_env_options.readEnvOptions.html b/api/13.3.8/functions/bin_read_env_options.readEnvOptions.html index 93c0472fda0..47526f3f0e8 100644 --- a/api/13.3.8/functions/bin_read_env_options.readEnvOptions.html +++ b/api/13.3.8/functions/bin_read_env_options.readEnvOptions.html @@ -1,4 +1,4 @@ -readEnvOptions | probot
  • Parameters

    • env: ProcessEnv = process.env

    Returns {
        appId: number;
        args: never[];
        baseUrl: string;
        host: undefined | string;
        logFormat: "json" | "pretty";
        logLevel: LogLevel;
        logLevelInString: boolean;
        logMessageKey: undefined | string;
        port: number;
        privateKey: undefined | string;
        redisConfig: undefined | string;
        secret: undefined | string;
        sentryDsn: undefined | string;
        webhookPath: undefined | string;
        webhookProxy: undefined | string;
    }

    • appId: number
    • args: never[]
    • baseUrl: string
    • host: undefined | string
    • logFormat: "json" | "pretty"
    • logLevel: LogLevel
    • logLevelInString: boolean
    • logMessageKey: undefined | string
    • port: number
    • privateKey: undefined | string
    • redisConfig: undefined | string
    • secret: undefined | string
    • sentryDsn: undefined | string
    • webhookPath: undefined | string
    • webhookProxy: undefined | string
  • Parameters

    • env: ProcessEnv = process.env

    Returns {
        appId: number;
        args: never[];
        baseUrl: string;
        host: undefined | string;
        logFormat: "json" | "pretty";
        logLevel: LogLevel;
        logLevelInString: boolean;
        logMessageKey: undefined | string;
        port: number;
        privateKey: undefined | string;
        redisConfig: undefined | string;
        secret: undefined | string;
        sentryDsn: undefined | string;
        webhookPath: undefined | string;
        webhookProxy: undefined | string;
    }

    • appId: number
    • args: never[]
    • baseUrl: string
    • host: undefined | string
    • logFormat: "json" | "pretty"
    • logLevel: LogLevel
    • logLevelInString: boolean
    • logMessageKey: undefined | string
    • port: number
    • privateKey: undefined | string
    • redisConfig: undefined | string
    • secret: undefined | string
    • sentryDsn: undefined | string
    • webhookPath: undefined | string
    • webhookProxy: undefined | string
diff --git a/api/13.3.8/functions/create_node_middleware.createNodeMiddleware.html b/api/13.3.8/functions/create_node_middleware.createNodeMiddleware.html index b05c778dd6e..203f104ffc0 100644 --- a/api/13.3.8/functions/create_node_middleware.createNodeMiddleware.html +++ b/api/13.3.8/functions/create_node_middleware.createNodeMiddleware.html @@ -1,4 +1,4 @@ -createNodeMiddleware | probot
diff --git a/api/13.3.8/functions/create_probot.createProbot.html b/api/13.3.8/functions/create_probot.createProbot.html index 4798b511f0d..88f93c53720 100644 --- a/api/13.3.8/functions/create_probot.createProbot.html +++ b/api/13.3.8/functions/create_probot.createProbot.html @@ -1,7 +1,7 @@ createProbot | probot

Function createProbot

diff --git a/api/13.3.8/functions/get_router.getRouter.html b/api/13.3.8/functions/get_router.getRouter.html index 8ca47c21ecd..bdb23e7dedd 100644 --- a/api/13.3.8/functions/get_router.getRouter.html +++ b/api/13.3.8/functions/get_router.getRouter.html @@ -2,7 +2,7 @@ expose HTTP endpoints

Parameters

  • router: Router
  • Optionalpath: string

    the prefix for the routes

Returns Router

an express.Router

-
diff --git a/api/13.3.8/functions/helpers_get_error_handler.getErrorHandler.html b/api/13.3.8/functions/helpers_get_error_handler.getErrorHandler.html index 66a40807ea3..4ab5eed1d28 100644 --- a/api/13.3.8/functions/helpers_get_error_handler.getErrorHandler.html +++ b/api/13.3.8/functions/helpers_get_error_handler.getErrorHandler.html @@ -1,4 +1,4 @@ -getErrorHandler | probot
  • Parameters

    • log: Logger

    Returns ((error: Error & {
        event?: EmitterWebhookEvent;
    }) => void)

      • (error): void
      • Parameters

        • error: Error & {
              event?: EmitterWebhookEvent;
          }

        Returns void

  • Parameters

    • log: Logger

    Returns ((error: Error & {
        event?: EmitterWebhookEvent;
    }) => void)

      • (error): void
      • Parameters

        • error: Error & {
              event?: EmitterWebhookEvent;
          }

        Returns void

diff --git a/api/13.3.8/functions/helpers_get_log.getLog.html b/api/13.3.8/functions/helpers_get_log.getLog.html index b0439a06a1a..fc3e86beec4 100644 --- a/api/13.3.8/functions/helpers_get_log.getLog.html +++ b/api/13.3.8/functions/helpers_get_log.getLog.html @@ -1,4 +1,4 @@ -getLog | probot
diff --git a/api/13.3.8/functions/helpers_is_production.isProduction.html b/api/13.3.8/functions/helpers_is_production.isProduction.html index 63bcf248143..c1f92b7d6d4 100644 --- a/api/13.3.8/functions/helpers_is_production.isProduction.html +++ b/api/13.3.8/functions/helpers_is_production.isProduction.html @@ -1,4 +1,4 @@ -isProduction | probot
diff --git a/api/13.3.8/functions/helpers_is_supported_node_version.isSupportedNodeVersion.html b/api/13.3.8/functions/helpers_is_supported_node_version.isSupportedNodeVersion.html index 96cc1c9a949..3ace499435a 100644 --- a/api/13.3.8/functions/helpers_is_supported_node_version.isSupportedNodeVersion.html +++ b/api/13.3.8/functions/helpers_is_supported_node_version.isSupportedNodeVersion.html @@ -1,4 +1,4 @@ -isSupportedNodeVersion | probot
diff --git a/api/13.3.8/functions/helpers_load_package_json.loadPackageJson.html b/api/13.3.8/functions/helpers_load_package_json.loadPackageJson.html index 640b02e241e..b99faa560ce 100644 --- a/api/13.3.8/functions/helpers_load_package_json.loadPackageJson.html +++ b/api/13.3.8/functions/helpers_load_package_json.loadPackageJson.html @@ -1,4 +1,4 @@ -loadPackageJson | probot
diff --git a/api/13.3.8/functions/helpers_rebind_log.rebindLog.html b/api/13.3.8/functions/helpers_rebind_log.rebindLog.html index 5bd1eddf749..c3caa7bba7c 100644 --- a/api/13.3.8/functions/helpers_rebind_log.rebindLog.html +++ b/api/13.3.8/functions/helpers_rebind_log.rebindLog.html @@ -1,4 +1,4 @@ -rebindLog | probot
diff --git a/api/13.3.8/functions/helpers_resolve_app_function.resolveAppFunction.html b/api/13.3.8/functions/helpers_resolve_app_function.resolveAppFunction.html index 46096e505d3..e6a04046abe 100644 --- a/api/13.3.8/functions/helpers_resolve_app_function.resolveAppFunction.html +++ b/api/13.3.8/functions/helpers_resolve_app_function.resolveAppFunction.html @@ -1,4 +1,4 @@ -resolveAppFunction | probot
diff --git a/api/13.3.8/functions/helpers_webhook_proxy.createWebhookProxy.html b/api/13.3.8/functions/helpers_webhook_proxy.createWebhookProxy.html index 27b9f3256cb..112a03ac535 100644 --- a/api/13.3.8/functions/helpers_webhook_proxy.createWebhookProxy.html +++ b/api/13.3.8/functions/helpers_webhook_proxy.createWebhookProxy.html @@ -1,4 +1,4 @@ -createWebhookProxy | probot
diff --git a/api/13.3.8/functions/octokit_get_authenticated_octokit.getAuthenticatedOctokit.html b/api/13.3.8/functions/octokit_get_authenticated_octokit.getAuthenticatedOctokit.html index 410ab6c4c97..56f1b169380 100644 --- a/api/13.3.8/functions/octokit_get_authenticated_octokit.getAuthenticatedOctokit.html +++ b/api/13.3.8/functions/octokit_get_authenticated_octokit.getAuthenticatedOctokit.html @@ -1,4 +1,4 @@ -getAuthenticatedOctokit | probot
  • Parameters

    • state: State
    • OptionalinstallationId: number

    Returns Promise<Octokit & {} & {} & RestEndpointMethods & Api & API>

  • Parameters

    • state: State
    • OptionalinstallationId: number

    Returns Promise<Octokit & {} & {} & RestEndpointMethods & Api & API>

diff --git a/api/13.3.8/functions/octokit_get_octokit_throttle_options.getOctokitThrottleOptions.html b/api/13.3.8/functions/octokit_get_octokit_throttle_options.getOctokitThrottleOptions.html index 67533f65912..e08a01483a0 100644 --- a/api/13.3.8/functions/octokit_get_octokit_throttle_options.getOctokitThrottleOptions.html +++ b/api/13.3.8/functions/octokit_get_octokit_throttle_options.getOctokitThrottleOptions.html @@ -1,4 +1,4 @@ -getOctokitThrottleOptions | probot
diff --git a/api/13.3.8/functions/octokit_get_probot_octokit_with_defaults.getProbotOctokitWithDefaults.html b/api/13.3.8/functions/octokit_get_probot_octokit_with_defaults.getProbotOctokitWithDefaults.html index 64bf428af47..623088f5575 100644 --- a/api/13.3.8/functions/octokit_get_probot_octokit_with_defaults.getProbotOctokitWithDefaults.html +++ b/api/13.3.8/functions/octokit_get_probot_octokit_with_defaults.getProbotOctokitWithDefaults.html @@ -5,7 +5,7 @@ deeply when instantiated.

Besides the authentication, the Octokit's baseUrl is set as well when run against a GitHub Enterprise Server with a custom domain.

-

Parameters

  • options: Options

Returns typeof Octokit & Constructor<{} & {} & RestEndpointMethods & Api & API>

diff --git a/api/13.3.8/functions/octokit_get_webhooks.getWebhooks.html b/api/13.3.8/functions/octokit_get_webhooks.getWebhooks.html index 8d3210a9144..ff34b6ad833 100644 --- a/api/13.3.8/functions/octokit_get_webhooks.getWebhooks.html +++ b/api/13.3.8/functions/octokit_get_webhooks.getWebhooks.html @@ -1,4 +1,4 @@ -getWebhooks | probot
  • Parameters

    Returns Webhooks<Context<
        | "status"
        | "branch_protection_configuration"
        | "branch_protection_rule.disabled"
        | "branch_protection_rule.enabled"
        | "branch_protection_rule"
        | "branch_protection_rule.created"
        | "branch_protection_rule.deleted"
        | "branch_protection_rule.edited"
        | "check_run"
        | "check_run.completed"
        | "check_run.created"
        | "check_run.requested_action"
        | "check_run.rerequested"
        | "check_suite"
        | "check_suite.completed"
        | "check_suite.requested"
        | "check_suite.rerequested"
        | "code_scanning_alert"
        | "code_scanning_alert.appeared_in_branch"
        | "code_scanning_alert.closed_by_user"
        | "code_scanning_alert.created"
        | "code_scanning_alert.fixed"
        | "code_scanning_alert.reopened"
        | "code_scanning_alert.reopened_by_user"
        | "commit_comment"
        | "commit_comment.created"
        | "create"
        | "custom_property"
        | "custom_property.created"
        | "custom_property.deleted"
        | "custom_property_values"
        | "custom_property_values.updated"
        | "delete"
        | "dependabot_alert"
        | "dependabot_alert.created"
        | "dependabot_alert.dismissed"
        | "dependabot_alert.fixed"
        | "dependabot_alert.reintroduced"
        | "dependabot_alert.reopened"
        | "deploy_key"
        | "deploy_key.created"
        | "deploy_key.deleted"
        | "deployment"
        | "deployment.created"
        | "deployment_protection_rule"
        | "deployment_protection_rule.requested"
        | "deployment_review"
        | "deployment_review.approved"
        | "deployment_review.rejected"
        | "deployment_review.requested"
        | "deployment_status"
        | "deployment_status.created"
        | "discussion"
        | "discussion.answered"
        | "discussion.category_changed"
        | "discussion.created"
        | "discussion.deleted"
        | "discussion.edited"
        | "discussion.labeled"
        | "discussion.locked"
        | "discussion.pinned"
        | "discussion.transferred"
        | "discussion.unanswered"
        | "discussion.unlabeled"
        | "discussion.unlocked"
        | "discussion.unpinned"
        | "discussion_comment"
        | "discussion_comment.created"
        | "discussion_comment.deleted"
        | "discussion_comment.edited"
        | "fork"
        | "github_app_authorization"
        | "github_app_authorization.revoked"
        | "gollum"
        | "installation"
        | "installation.created"
        | "installation.deleted"
        | "installation.new_permissions_accepted"
        | "installation.suspend"
        | "installation.unsuspend"
        | "installation_repositories"
        | "installation_repositories.added"
        | "installation_repositories.removed"
        | "installation_target"
        | "installation_target.renamed"
        | "issue_comment"
        | "issue_comment.created"
        | "issue_comment.deleted"
        | "issue_comment.edited"
        | "issues"
        | "issues.assigned"
        | "issues.closed"
        | "issues.deleted"
        | "issues.demilestoned"
        | "issues.edited"
        | "issues.labeled"
        | "issues.locked"
        | "issues.milestoned"
        | "issues.opened"
        | "issues.pinned"
        | "issues.reopened"
        | "issues.transferred"
        | "issues.unassigned"
        | "issues.unlabeled"
        | "issues.unlocked"
        | "issues.unpinned"
        | "label"
        | "label.created"
        | "label.deleted"
        | "label.edited"
        | "marketplace_purchase"
        | "marketplace_purchase.cancelled"
        | "marketplace_purchase.changed"
        | "marketplace_purchase.pending_change"
        | "marketplace_purchase.pending_change_cancelled"
        | "marketplace_purchase.purchased"
        | "member"
        | "member.added"
        | "member.edited"
        | "member.removed"
        | "membership"
        | "membership.added"
        | "membership.removed"
        | "merge_group"
        | "merge_group.checks_requested"
        | "meta"
        | "meta.deleted"
        | "milestone"
        | "milestone.closed"
        | "milestone.created"
        | "milestone.deleted"
        | "milestone.edited"
        | "milestone.opened"
        | "org_block"
        | "org_block.blocked"
        | "org_block.unblocked"
        | "organization"
        | "organization.deleted"
        | "organization.member_added"
        | "organization.member_invited"
        | "organization.member_removed"
        | "organization.renamed"
        | "package"
        | "package.published"
        | "package.updated"
        | "page_build"
        | "ping"
        | "project"
        | "project.closed"
        | "project.created"
        | "project.deleted"
        | "project.edited"
        | "project.reopened"
        | "project_card"
        | "project_card.converted"
        | "project_card.created"
        | "project_card.deleted"
        | "project_card.edited"
        | "project_card.moved"
        | "project_column"
        | "project_column.created"
        | "project_column.deleted"
        | "project_column.edited"
        | "project_column.moved"
        | "projects_v2_item"
        | "projects_v2_item.archived"
        | "projects_v2_item.converted"
        | "projects_v2_item.created"
        | "projects_v2_item.deleted"
        | "projects_v2_item.edited"
        | "projects_v2_item.reordered"
        | "projects_v2_item.restored"
        | "public"
        | "pull_request"
        | "pull_request.assigned"
        | "pull_request.auto_merge_disabled"
        | "pull_request.auto_merge_enabled"
        | "pull_request.closed"
        | "pull_request.converted_to_draft"
        | "pull_request.demilestoned"
        | "pull_request.dequeued"
        | "pull_request.edited"
        | "pull_request.enqueued"
        | "pull_request.labeled"
        | "pull_request.locked"
        | "pull_request.milestoned"
        | "pull_request.opened"
        | "pull_request.ready_for_review"
        | "pull_request.reopened"
        | "pull_request.review_request_removed"
        | "pull_request.review_requested"
        | "pull_request.synchronize"
        | "pull_request.unassigned"
        | "pull_request.unlabeled"
        | "pull_request.unlocked"
        | "pull_request_review"
        | "pull_request_review.dismissed"
        | "pull_request_review.edited"
        | "pull_request_review.submitted"
        | "pull_request_review_comment"
        | "pull_request_review_comment.created"
        | "pull_request_review_comment.deleted"
        | "pull_request_review_comment.edited"
        | "pull_request_review_thread"
        | "pull_request_review_thread.resolved"
        | "pull_request_review_thread.unresolved"
        | "push"
        | "registry_package"
        | "registry_package.published"
        | "registry_package.updated"
        | "release"
        | "release.created"
        | "release.deleted"
        | "release.edited"
        | "release.prereleased"
        | "release.published"
        | "release.released"
        | "release.unpublished"
        | "repository"
        | "repository.archived"
        | "repository.created"
        | "repository.deleted"
        | "repository.edited"
        | "repository.privatized"
        | "repository.publicized"
        | "repository.renamed"
        | "repository.transferred"
        | "repository.unarchived"
        | "repository_dispatch"
        | "repository_import"
        | "repository_vulnerability_alert"
        | "repository_vulnerability_alert.create"
        | "repository_vulnerability_alert.dismiss"
        | "repository_vulnerability_alert.reopen"
        | "repository_vulnerability_alert.resolve"
        | "secret_scanning_alert"
        | "secret_scanning_alert.created"
        | "secret_scanning_alert.reopened"
        | "secret_scanning_alert.resolved"
        | "secret_scanning_alert.revoked"
        | "secret_scanning_alert_location"
        | "secret_scanning_alert_location.created"
        | "security_advisory"
        | "security_advisory.performed"
        | "security_advisory.published"
        | "security_advisory.updated"
        | "security_advisory.withdrawn"
        | "sponsorship"
        | "sponsorship.cancelled"
        | "sponsorship.created"
        | "sponsorship.edited"
        | "sponsorship.pending_cancellation"
        | "sponsorship.pending_tier_change"
        | "sponsorship.tier_changed"
        | "star"
        | "star.created"
        | "star.deleted"
        | "team"
        | "team.added_to_repository"
        | "team.created"
        | "team.deleted"
        | "team.edited"
        | "team.removed_from_repository"
        | "team_add"
        | "watch"
        | "watch.started"
        | "workflow_dispatch"
        | "workflow_job"
        | "workflow_job.completed"
        | "workflow_job.in_progress"
        | "workflow_job.queued"
        | "workflow_job.waiting"
        | "workflow_run"
        | "workflow_run.completed"
        | "workflow_run.in_progress"
        | "workflow_run.requested">>

  • Parameters

    Returns Webhooks<Context<
        | "status"
        | "branch_protection_configuration"
        | "branch_protection_configuration.disabled"
        | "branch_protection_configuration.enabled"
        | "branch_protection_rule"
        | "branch_protection_rule.created"
        | "branch_protection_rule.deleted"
        | "branch_protection_rule.edited"
        | "check_run"
        | "check_run.completed"
        | "check_run.created"
        | "check_run.requested_action"
        | "check_run.rerequested"
        | "check_suite"
        | "check_suite.completed"
        | "check_suite.requested"
        | "check_suite.rerequested"
        | "code_scanning_alert"
        | "code_scanning_alert.appeared_in_branch"
        | "code_scanning_alert.closed_by_user"
        | "code_scanning_alert.created"
        | "code_scanning_alert.fixed"
        | "code_scanning_alert.reopened"
        | "code_scanning_alert.reopened_by_user"
        | "commit_comment"
        | "commit_comment.created"
        | "create"
        | "custom_property"
        | "custom_property.created"
        | "custom_property.deleted"
        | "custom_property_values"
        | "custom_property_values.updated"
        | "delete"
        | "dependabot_alert"
        | "dependabot_alert.created"
        | "dependabot_alert.dismissed"
        | "dependabot_alert.fixed"
        | "dependabot_alert.reintroduced"
        | "dependabot_alert.reopened"
        | "deploy_key"
        | "deploy_key.created"
        | "deploy_key.deleted"
        | "deployment"
        | "deployment.created"
        | "deployment_protection_rule"
        | "deployment_protection_rule.requested"
        | "deployment_review"
        | "deployment_review.approved"
        | "deployment_review.rejected"
        | "deployment_review.requested"
        | "deployment_status"
        | "deployment_status.created"
        | "discussion"
        | "discussion.answered"
        | "discussion.category_changed"
        | "discussion.created"
        | "discussion.deleted"
        | "discussion.edited"
        | "discussion.labeled"
        | "discussion.locked"
        | "discussion.pinned"
        | "discussion.transferred"
        | "discussion.unanswered"
        | "discussion.unlabeled"
        | "discussion.unlocked"
        | "discussion.unpinned"
        | "discussion_comment"
        | "discussion_comment.created"
        | "discussion_comment.deleted"
        | "discussion_comment.edited"
        | "fork"
        | "github_app_authorization"
        | "github_app_authorization.revoked"
        | "gollum"
        | "installation"
        | "installation.created"
        | "installation.deleted"
        | "installation.new_permissions_accepted"
        | "installation.suspend"
        | "installation.unsuspend"
        | "installation_repositories"
        | "installation_repositories.added"
        | "installation_repositories.removed"
        | "installation_target"
        | "installation_target.renamed"
        | "issue_comment"
        | "issue_comment.created"
        | "issue_comment.deleted"
        | "issue_comment.edited"
        | "issues"
        | "issues.assigned"
        | "issues.closed"
        | "issues.deleted"
        | "issues.demilestoned"
        | "issues.edited"
        | "issues.labeled"
        | "issues.locked"
        | "issues.milestoned"
        | "issues.opened"
        | "issues.pinned"
        | "issues.reopened"
        | "issues.transferred"
        | "issues.unassigned"
        | "issues.unlabeled"
        | "issues.unlocked"
        | "issues.unpinned"
        | "label"
        | "label.created"
        | "label.deleted"
        | "label.edited"
        | "marketplace_purchase"
        | "marketplace_purchase.cancelled"
        | "marketplace_purchase.changed"
        | "marketplace_purchase.pending_change"
        | "marketplace_purchase.pending_change_cancelled"
        | "marketplace_purchase.purchased"
        | "member"
        | "member.added"
        | "member.edited"
        | "member.removed"
        | "membership"
        | "membership.added"
        | "membership.removed"
        | "merge_group"
        | "merge_group.checks_requested"
        | "merge_group.destroyed"
        | "meta"
        | "meta.deleted"
        | "milestone"
        | "milestone.closed"
        | "milestone.created"
        | "milestone.deleted"
        | "milestone.edited"
        | "milestone.opened"
        | "org_block"
        | "org_block.blocked"
        | "org_block.unblocked"
        | "organization"
        | "organization.deleted"
        | "organization.member_added"
        | "organization.member_invited"
        | "organization.member_removed"
        | "organization.renamed"
        | "package"
        | "package.published"
        | "package.updated"
        | "page_build"
        | "ping"
        | "project"
        | "project.closed"
        | "project.created"
        | "project.deleted"
        | "project.edited"
        | "project.reopened"
        | "project_card"
        | "project_card.converted"
        | "project_card.created"
        | "project_card.deleted"
        | "project_card.edited"
        | "project_card.moved"
        | "project_column"
        | "project_column.created"
        | "project_column.deleted"
        | "project_column.edited"
        | "project_column.moved"
        | "projects_v2_item"
        | "projects_v2_item.archived"
        | "projects_v2_item.converted"
        | "projects_v2_item.created"
        | "projects_v2_item.deleted"
        | "projects_v2_item.edited"
        | "projects_v2_item.reordered"
        | "projects_v2_item.restored"
        | "public"
        | "pull_request"
        | "pull_request.assigned"
        | "pull_request.auto_merge_disabled"
        | "pull_request.auto_merge_enabled"
        | "pull_request.closed"
        | "pull_request.converted_to_draft"
        | "pull_request.demilestoned"
        | "pull_request.dequeued"
        | "pull_request.edited"
        | "pull_request.enqueued"
        | "pull_request.labeled"
        | "pull_request.locked"
        | "pull_request.milestoned"
        | "pull_request.opened"
        | "pull_request.ready_for_review"
        | "pull_request.reopened"
        | "pull_request.review_request_removed"
        | "pull_request.review_requested"
        | "pull_request.synchronize"
        | "pull_request.unassigned"
        | "pull_request.unlabeled"
        | "pull_request.unlocked"
        | "pull_request_review"
        | "pull_request_review.dismissed"
        | "pull_request_review.edited"
        | "pull_request_review.submitted"
        | "pull_request_review_comment"
        | "pull_request_review_comment.created"
        | "pull_request_review_comment.deleted"
        | "pull_request_review_comment.edited"
        | "pull_request_review_thread"
        | "pull_request_review_thread.resolved"
        | "pull_request_review_thread.unresolved"
        | "push"
        | "registry_package"
        | "registry_package.published"
        | "registry_package.updated"
        | "release"
        | "release.created"
        | "release.deleted"
        | "release.edited"
        | "release.prereleased"
        | "release.published"
        | "release.released"
        | "release.unpublished"
        | "repository"
        | "repository.archived"
        | "repository.created"
        | "repository.deleted"
        | "repository.edited"
        | "repository.privatized"
        | "repository.publicized"
        | "repository.renamed"
        | "repository.transferred"
        | "repository.unarchived"
        | "repository_dispatch"
        | "repository_import"
        | "repository_vulnerability_alert"
        | "repository_vulnerability_alert.create"
        | "repository_vulnerability_alert.dismiss"
        | "repository_vulnerability_alert.reopen"
        | "repository_vulnerability_alert.resolve"
        | "secret_scanning_alert"
        | "secret_scanning_alert.created"
        | "secret_scanning_alert.reopened"
        | "secret_scanning_alert.resolved"
        | "secret_scanning_alert.revoked"
        | "secret_scanning_alert_location"
        | "secret_scanning_alert_location.created"
        | "security_advisory"
        | "security_advisory.performed"
        | "security_advisory.published"
        | "security_advisory.updated"
        | "security_advisory.withdrawn"
        | "sponsorship"
        | "sponsorship.cancelled"
        | "sponsorship.created"
        | "sponsorship.edited"
        | "sponsorship.pending_cancellation"
        | "sponsorship.pending_tier_change"
        | "sponsorship.tier_changed"
        | "star"
        | "star.created"
        | "star.deleted"
        | "team"
        | "team.added_to_repository"
        | "team.created"
        | "team.deleted"
        | "team.edited"
        | "team.removed_from_repository"
        | "team_add"
        | "watch"
        | "watch.started"
        | "workflow_dispatch"
        | "workflow_job"
        | "workflow_job.completed"
        | "workflow_job.in_progress"
        | "workflow_job.queued"
        | "workflow_job.waiting"
        | "workflow_run"
        | "workflow_run.completed"
        | "workflow_run.in_progress"
        | "workflow_run.requested">>

diff --git a/api/13.3.8/functions/octokit_octokit_plugin_probot_request_logging.probotRequestLogging.html b/api/13.3.8/functions/octokit_octokit_plugin_probot_request_logging.probotRequestLogging.html index 9af7c159441..824235b1b17 100644 --- a/api/13.3.8/functions/octokit_octokit_plugin_probot_request_logging.probotRequestLogging.html +++ b/api/13.3.8/functions/octokit_octokit_plugin_probot_request_logging.probotRequestLogging.html @@ -1,4 +1,4 @@ -probotRequestLogging | probot
diff --git a/api/13.3.8/functions/octokit_octokit_webhooks_transform.webhookTransform.html b/api/13.3.8/functions/octokit_octokit_webhooks_transform.webhookTransform.html index 8007b5d1586..e653eb16025 100644 --- a/api/13.3.8/functions/octokit_octokit_webhooks_transform.webhookTransform.html +++ b/api/13.3.8/functions/octokit_octokit_webhooks_transform.webhookTransform.html @@ -1,7 +1,7 @@ -webhookTransform | probot
  • Probot's transform option, which extends the event object that is passed +webhookTransform | probot

    • Probot's transform option, which extends the event object that is passed to webhook event handlers by @octokit/webhooks

      -

      Parameters

      • state: State
      • event: EmitterWebhookEvent

      Returns Promise<Context<
          | "status"
          | "branch_protection_configuration"
          | "branch_protection_rule.disabled"
          | "branch_protection_rule.enabled"
          | "branch_protection_rule"
          | "branch_protection_rule.created"
          | "branch_protection_rule.deleted"
          | "branch_protection_rule.edited"
          | "check_run"
          | "check_run.completed"
          | "check_run.created"
          | "check_run.requested_action"
          | "check_run.rerequested"
          | "check_suite"
          | "check_suite.completed"
          | "check_suite.requested"
          | "check_suite.rerequested"
          | "code_scanning_alert"
          | "code_scanning_alert.appeared_in_branch"
          | "code_scanning_alert.closed_by_user"
          | "code_scanning_alert.created"
          | "code_scanning_alert.fixed"
          | "code_scanning_alert.reopened"
          | "code_scanning_alert.reopened_by_user"
          | "commit_comment"
          | "commit_comment.created"
          | "create"
          | "custom_property"
          | "custom_property.created"
          | "custom_property.deleted"
          | "custom_property_values"
          | "custom_property_values.updated"
          | "delete"
          | "dependabot_alert"
          | "dependabot_alert.created"
          | "dependabot_alert.dismissed"
          | "dependabot_alert.fixed"
          | "dependabot_alert.reintroduced"
          | "dependabot_alert.reopened"
          | "deploy_key"
          | "deploy_key.created"
          | "deploy_key.deleted"
          | "deployment"
          | "deployment.created"
          | "deployment_protection_rule"
          | "deployment_protection_rule.requested"
          | "deployment_review"
          | "deployment_review.approved"
          | "deployment_review.rejected"
          | "deployment_review.requested"
          | "deployment_status"
          | "deployment_status.created"
          | "discussion"
          | "discussion.answered"
          | "discussion.category_changed"
          | "discussion.created"
          | "discussion.deleted"
          | "discussion.edited"
          | "discussion.labeled"
          | "discussion.locked"
          | "discussion.pinned"
          | "discussion.transferred"
          | "discussion.unanswered"
          | "discussion.unlabeled"
          | "discussion.unlocked"
          | "discussion.unpinned"
          | "discussion_comment"
          | "discussion_comment.created"
          | "discussion_comment.deleted"
          | "discussion_comment.edited"
          | "fork"
          | "github_app_authorization"
          | "github_app_authorization.revoked"
          | "gollum"
          | "installation"
          | "installation.created"
          | "installation.deleted"
          | "installation.new_permissions_accepted"
          | "installation.suspend"
          | "installation.unsuspend"
          | "installation_repositories"
          | "installation_repositories.added"
          | "installation_repositories.removed"
          | "installation_target"
          | "installation_target.renamed"
          | "issue_comment"
          | "issue_comment.created"
          | "issue_comment.deleted"
          | "issue_comment.edited"
          | "issues"
          | "issues.assigned"
          | "issues.closed"
          | "issues.deleted"
          | "issues.demilestoned"
          | "issues.edited"
          | "issues.labeled"
          | "issues.locked"
          | "issues.milestoned"
          | "issues.opened"
          | "issues.pinned"
          | "issues.reopened"
          | "issues.transferred"
          | "issues.unassigned"
          | "issues.unlabeled"
          | "issues.unlocked"
          | "issues.unpinned"
          | "label"
          | "label.created"
          | "label.deleted"
          | "label.edited"
          | "marketplace_purchase"
          | "marketplace_purchase.cancelled"
          | "marketplace_purchase.changed"
          | "marketplace_purchase.pending_change"
          | "marketplace_purchase.pending_change_cancelled"
          | "marketplace_purchase.purchased"
          | "member"
          | "member.added"
          | "member.edited"
          | "member.removed"
          | "membership"
          | "membership.added"
          | "membership.removed"
          | "merge_group"
          | "merge_group.checks_requested"
          | "meta"
          | "meta.deleted"
          | "milestone"
          | "milestone.closed"
          | "milestone.created"
          | "milestone.deleted"
          | "milestone.edited"
          | "milestone.opened"
          | "org_block"
          | "org_block.blocked"
          | "org_block.unblocked"
          | "organization"
          | "organization.deleted"
          | "organization.member_added"
          | "organization.member_invited"
          | "organization.member_removed"
          | "organization.renamed"
          | "package"
          | "package.published"
          | "package.updated"
          | "page_build"
          | "ping"
          | "project"
          | "project.closed"
          | "project.created"
          | "project.deleted"
          | "project.edited"
          | "project.reopened"
          | "project_card"
          | "project_card.converted"
          | "project_card.created"
          | "project_card.deleted"
          | "project_card.edited"
          | "project_card.moved"
          | "project_column"
          | "project_column.created"
          | "project_column.deleted"
          | "project_column.edited"
          | "project_column.moved"
          | "projects_v2_item"
          | "projects_v2_item.archived"
          | "projects_v2_item.converted"
          | "projects_v2_item.created"
          | "projects_v2_item.deleted"
          | "projects_v2_item.edited"
          | "projects_v2_item.reordered"
          | "projects_v2_item.restored"
          | "public"
          | "pull_request"
          | "pull_request.assigned"
          | "pull_request.auto_merge_disabled"
          | "pull_request.auto_merge_enabled"
          | "pull_request.closed"
          | "pull_request.converted_to_draft"
          | "pull_request.demilestoned"
          | "pull_request.dequeued"
          | "pull_request.edited"
          | "pull_request.enqueued"
          | "pull_request.labeled"
          | "pull_request.locked"
          | "pull_request.milestoned"
          | "pull_request.opened"
          | "pull_request.ready_for_review"
          | "pull_request.reopened"
          | "pull_request.review_request_removed"
          | "pull_request.review_requested"
          | "pull_request.synchronize"
          | "pull_request.unassigned"
          | "pull_request.unlabeled"
          | "pull_request.unlocked"
          | "pull_request_review"
          | "pull_request_review.dismissed"
          | "pull_request_review.edited"
          | "pull_request_review.submitted"
          | "pull_request_review_comment"
          | "pull_request_review_comment.created"
          | "pull_request_review_comment.deleted"
          | "pull_request_review_comment.edited"
          | "pull_request_review_thread"
          | "pull_request_review_thread.resolved"
          | "pull_request_review_thread.unresolved"
          | "push"
          | "registry_package"
          | "registry_package.published"
          | "registry_package.updated"
          | "release"
          | "release.created"
          | "release.deleted"
          | "release.edited"
          | "release.prereleased"
          | "release.published"
          | "release.released"
          | "release.unpublished"
          | "repository"
          | "repository.archived"
          | "repository.created"
          | "repository.deleted"
          | "repository.edited"
          | "repository.privatized"
          | "repository.publicized"
          | "repository.renamed"
          | "repository.transferred"
          | "repository.unarchived"
          | "repository_dispatch"
          | "repository_import"
          | "repository_vulnerability_alert"
          | "repository_vulnerability_alert.create"
          | "repository_vulnerability_alert.dismiss"
          | "repository_vulnerability_alert.reopen"
          | "repository_vulnerability_alert.resolve"
          | "secret_scanning_alert"
          | "secret_scanning_alert.created"
          | "secret_scanning_alert.reopened"
          | "secret_scanning_alert.resolved"
          | "secret_scanning_alert.revoked"
          | "secret_scanning_alert_location"
          | "secret_scanning_alert_location.created"
          | "security_advisory"
          | "security_advisory.performed"
          | "security_advisory.published"
          | "security_advisory.updated"
          | "security_advisory.withdrawn"
          | "sponsorship"
          | "sponsorship.cancelled"
          | "sponsorship.created"
          | "sponsorship.edited"
          | "sponsorship.pending_cancellation"
          | "sponsorship.pending_tier_change"
          | "sponsorship.tier_changed"
          | "star"
          | "star.created"
          | "star.deleted"
          | "team"
          | "team.added_to_repository"
          | "team.created"
          | "team.deleted"
          | "team.edited"
          | "team.removed_from_repository"
          | "team_add"
          | "watch"
          | "watch.started"
          | "workflow_dispatch"
          | "workflow_job"
          | "workflow_job.completed"
          | "workflow_job.in_progress"
          | "workflow_job.queued"
          | "workflow_job.waiting"
          | "workflow_run"
          | "workflow_run.completed"
          | "workflow_run.in_progress"
          | "workflow_run.requested">>

    diff --git a/api/13.3.8/functions/run.run.html b/api/13.3.8/functions/run.run.html index baf5417925f..b005aa88610 100644 --- a/api/13.3.8/functions/run.run.html +++ b/api/13.3.8/functions/run.run.html @@ -1,5 +1,5 @@ run | probot

    Function run

    • Parameters

      • appFnOrArgv: string[] | ApplicationFunction

        set to either a probot application function: (app) => { ... } or to process.argv

        -
      • OptionaladditionalOptions: AdditionalOptions

      Returns Promise<Server>

    diff --git a/api/13.3.8/functions/server_logging_middleware.getLoggingMiddleware.html b/api/13.3.8/functions/server_logging_middleware.getLoggingMiddleware.html index 54f53d08d77..5553e7d40ec 100644 --- a/api/13.3.8/functions/server_logging_middleware.getLoggingMiddleware.html +++ b/api/13.3.8/functions/server_logging_middleware.getLoggingMiddleware.html @@ -1,4 +1,4 @@ -getLoggingMiddleware | probot
    • Parameters

      • logger: Logger
      • Optionaloptions: Options<IncomingMessage, ServerResponse<IncomingMessage>, never>

      Returns HttpLogger

    • Parameters

      • logger: Logger
      • Optionaloptions: Options<IncomingMessage, ServerResponse<IncomingMessage>, never>

      Returns HttpLogger

    diff --git a/api/13.3.8/functions/views_import.importView.html b/api/13.3.8/functions/views_import.importView.html index 575485b71b4..c604769da33 100644 --- a/api/13.3.8/functions/views_import.importView.html +++ b/api/13.3.8/functions/views_import.importView.html @@ -1,4 +1,4 @@ -importView | probot

    Function importView

    • Parameters

      • __namedParameters: {
            GH_HOST: string;
            name?: string;
            WEBHOOK_PROXY_URL?: string;
        }
        • GH_HOST: string
        • Optionalname?: string
        • OptionalWEBHOOK_PROXY_URL?: string

      Returns string

    Function importView

    • Parameters

      • __namedParameters: {
            GH_HOST: string;
            name?: string;
            WEBHOOK_PROXY_URL?: string;
        }
        • GH_HOST: string
        • Optionalname?: string
        • OptionalWEBHOOK_PROXY_URL?: string

      Returns string

    diff --git a/api/13.3.8/functions/views_probot.probotView.html b/api/13.3.8/functions/views_probot.probotView.html index caa7fd3c6c8..7e3799eb60a 100644 --- a/api/13.3.8/functions/views_probot.probotView.html +++ b/api/13.3.8/functions/views_probot.probotView.html @@ -1,4 +1,4 @@ -probotView | probot

    Function probotView

    • Parameters

      • __namedParameters: {
            description?: string;
            name?: string;
            version?: string;
        }
        • Optionaldescription?: string
        • Optionalname?: string
        • Optionalversion?: string

      Returns string

    Function probotView

    • Parameters

      • __namedParameters: {
            description?: string;
            name?: string;
            version?: string;
        }
        • Optionaldescription?: string
        • Optionalname?: string
        • Optionalversion?: string

      Returns string

    diff --git a/api/13.3.8/functions/views_setup.setupView.html b/api/13.3.8/functions/views_setup.setupView.html index 1e6825319f8..089c05587ef 100644 --- a/api/13.3.8/functions/views_setup.setupView.html +++ b/api/13.3.8/functions/views_setup.setupView.html @@ -1,4 +1,4 @@ -setupView | probot

    Function setupView

    • Parameters

      • __namedParameters: {
            createAppUrl: string;
            description?: string;
            manifest: string;
            name?: string;
            version?: string;
        }
        • createAppUrl: string
        • Optionaldescription?: string
        • manifest: string
        • Optionalname?: string
        • Optionalversion?: string

      Returns string

    Function setupView

    • Parameters

      • __namedParameters: {
            createAppUrl: string;
            description?: string;
            manifest: string;
            name?: string;
            version?: string;
        }
        • createAppUrl: string
        • Optionaldescription?: string
        • manifest: string
        • Optionalname?: string
        • Optionalversion?: string

      Returns string

    diff --git a/api/13.3.8/functions/views_success.successView.html b/api/13.3.8/functions/views_success.successView.html index 0b69b61ad53..abfcf4b80e8 100644 --- a/api/13.3.8/functions/views_success.successView.html +++ b/api/13.3.8/functions/views_success.successView.html @@ -1,4 +1,4 @@ -successView | probot

    Function successView

    • Parameters

      • __namedParameters: {
            name?: string;
        }
        • Optionalname?: string

      Returns string

    Function successView

    • Parameters

      • __namedParameters: {
            name?: string;
        }
        • Optionalname?: string

      Returns string

    diff --git a/api/13.3.8/interfaces/helpers_resolve_app_function.ResolveOptions.html b/api/13.3.8/interfaces/helpers_resolve_app_function.ResolveOptions.html index 71220221884..54a15e6bdc1 100644 --- a/api/13.3.8/interfaces/helpers_resolve_app_function.ResolveOptions.html +++ b/api/13.3.8/interfaces/helpers_resolve_app_function.ResolveOptions.html @@ -1,6 +1,6 @@ -ResolveOptions | probot
    interface ResolveOptions {
        basedir?: string;
        resolver?: RequireResolve;
    }

    Properties

    basedir? +ResolveOptions | probot
    interface ResolveOptions {
        basedir?: string;
        resolver?: RequireResolve;
    }

    Properties

    Properties

    basedir?: string
    resolver?: RequireResolve
    diff --git a/api/13.3.8/interfaces/helpers_webhook_proxy.WebhookProxyOptions.html b/api/13.3.8/interfaces/helpers_webhook_proxy.WebhookProxyOptions.html index 91fff6e2f12..7ce25fae75a 100644 --- a/api/13.3.8/interfaces/helpers_webhook_proxy.WebhookProxyOptions.html +++ b/api/13.3.8/interfaces/helpers_webhook_proxy.WebhookProxyOptions.html @@ -1,9 +1,9 @@ -WebhookProxyOptions | probot
    interface WebhookProxyOptions {
        fetch?: Function;
        logger: Logger;
        path?: string;
        port?: number;
        url: string;
    }

    Properties

    fetch? +WebhookProxyOptions | probot
    interface WebhookProxyOptions {
        fetch?: Function;
        logger: Logger;
        path?: string;
        port?: number;
        url: string;
    }

    Properties

    fetch?: Function
    logger: Logger
    path?: string
    port?: number
    url: string
    diff --git a/api/13.3.8/interfaces/types.Options.html b/api/13.3.8/interfaces/types.Options.html index bf27ad8f452..210f5afcbfb 100644 --- a/api/13.3.8/interfaces/types.Options.html +++ b/api/13.3.8/interfaces/types.Options.html @@ -1,4 +1,4 @@ -Options | probot

    Interface Options

    interface Options {
        appId?: string | number;
        baseUrl?: string;
        githubToken?: string;
        host?: string;
        log?: Logger;
        logLevel?:
            | "fatal"
            | "error"
            | "warn"
            | "info"
            | "debug"
            | "trace";
        logMessageKey?: string;
        Octokit?: typeof Octokit & Constructor<{} & {} & RestEndpointMethods & Api & API>;
        port?: number;
        privateKey?: string;
        redisConfig?: string | RedisOptions;
        request?: RequestRequestOptions;
        secret?: string;
        webhookPath?: string;
    }

    Properties

    appId? +Options | probot

    Interface Options

    interface Options {
        appId?: string | number;
        baseUrl?: string;
        githubToken?: string;
        host?: string;
        log?: Logger;
        logLevel?:
            | "fatal"
            | "error"
            | "warn"
            | "info"
            | "debug"
            | "trace";
        logMessageKey?: string;
        Octokit?: typeof Octokit & Constructor<{} & {} & RestEndpointMethods & Api & API>;
        port?: number;
        privateKey?: string;
        redisConfig?: string | RedisOptions;
        request?: RequestRequestOptions;
        secret?: string;
        webhookPath?: string;
    }

    Properties

    appId?: string | number
    baseUrl?: string
    githubToken?: string
    host?: string
    log?: Logger
    logLevel?:
        | "fatal"
        | "error"
        | "warn"
        | "info"
        | "debug"
        | "trace"
    logMessageKey?: string
    Octokit?: typeof Octokit & Constructor<{} & {} & RestEndpointMethods & Api & API>
    port?: number
    privateKey?: string
    redisConfig?: string | RedisOptions
    request?: RequestRequestOptions
    secret?: string
    webhookPath?: string
    diff --git a/api/13.3.8/modules/apps_default.html b/api/13.3.8/modules/apps_default.html index 54eb260d64d..09a4df83dd5 100644 --- a/api/13.3.8/modules/apps_default.html +++ b/api/13.3.8/modules/apps_default.html @@ -1,4 +1,4 @@ -apps/default | probot

    Module apps/default

    Index

    Functions

    defaultApp +apps/default | probot

    Module apps/default

    Index

    Functions

    Module apps/setup

    Index

    Functions

    setupAppFactory +apps/setup | probot

    Module apps/setup

    Index

    Functions

    Module auth

    Index

    Functions

    auth +auth | probot

    Module auth

    Index

    Functions

    Module bin/probot

    Module bin/probot

    diff --git a/api/13.3.8/modules/bin_probot_receive.html b/api/13.3.8/modules/bin_probot_receive.html index 23f5840eee9..901f06f4cb1 100644 --- a/api/13.3.8/modules/bin_probot_receive.html +++ b/api/13.3.8/modules/bin_probot_receive.html @@ -1,4 +1,4 @@ -bin/probot-receive | probot

    Module bin/probot-receive

    Module bin/probot-receive

    diff --git a/api/13.3.8/modules/bin_probot_run.html b/api/13.3.8/modules/bin_probot_run.html index 20eb414f0f1..7455b09c456 100644 --- a/api/13.3.8/modules/bin_probot_run.html +++ b/api/13.3.8/modules/bin_probot_run.html @@ -1,4 +1,4 @@ -bin/probot-run | probot

    Module bin/probot-run

    Module bin/probot-run

    diff --git a/api/13.3.8/modules/bin_read_cli_options.html b/api/13.3.8/modules/bin_read_cli_options.html index 24589c97596..0ab3283bcd3 100644 --- a/api/13.3.8/modules/bin_read_cli_options.html +++ b/api/13.3.8/modules/bin_read_cli_options.html @@ -1,4 +1,4 @@ -bin/read-cli-options | probot

    Module bin/read-cli-options

    Index

    Functions

    readCliOptions +bin/read-cli-options | probot

    Module bin/read-cli-options

    Index

    Functions

    Module bin/read-env-options

    Index

    Functions

    readEnvOptions +bin/read-env-options | probot

    Module bin/read-env-options

    Index

    Functions

    Module context

    Index

    Classes

    Context +context | probot

    Module context

    Index

    Classes

    Type Aliases

    Module create-node-middleware

    Index

    Functions

    createNodeMiddleware +create-node-middleware | probot

    Module create-node-middleware

    Index

    Functions

    Module create-probot

    Index

    Functions

    createProbot +create-probot | probot

    Module create-probot

    Index

    Functions

    Module get-router

    Index

    Functions

    getRouter +get-router | probot

    Module get-router

    Index

    Functions

    Module helpers/get-error-handler

    Index

    Functions

    getErrorHandler +helpers/get-error-handler | probot

    Module helpers/get-error-handler

    Index

    Functions

    Module helpers/get-log

    Index

    Type Aliases

    GetLogOptions +helpers/get-log | probot

    Module helpers/get-log

    Index

    Type Aliases

    Functions

    Module helpers/is-production

    Index

    Functions

    isProduction +helpers/is-production | probot

    Module helpers/is-production

    Index

    Functions

    Module helpers/is-supported-node-version

    Index

    Functions

    isSupportedNodeVersion +helpers/is-supported-node-version | probot

    Module helpers/load-package-json

    Index

    Functions

    loadPackageJson +helpers/load-package-json | probot

    Module helpers/load-package-json

    Index

    Functions

    Module helpers/rebind-log

    Index

    Functions

    rebindLog +helpers/rebind-log | probot

    Module helpers/rebind-log

    Index

    Functions

    Module helpers/resolve-app-function

    Index

    Interfaces

    ResolveOptions +helpers/resolve-app-function | probot

    Module helpers/resolve-app-function

    Index

    Interfaces

    Functions

    Module helpers/webhook-proxy

    Index

    Interfaces

    WebhookProxyOptions +helpers/webhook-proxy | probot

    Module helpers/webhook-proxy

    Index

    Interfaces

    Functions

    Module index

    References

    ApplicationFunction +index | probot

    Module index

    References

    ApplicationFunction ApplicationFunctionOptions Context createNodeMiddleware diff --git a/api/13.3.8/modules/manifest_creation.html b/api/13.3.8/modules/manifest_creation.html index 0584cb5ed53..c189b409a39 100644 --- a/api/13.3.8/modules/manifest_creation.html +++ b/api/13.3.8/modules/manifest_creation.html @@ -1,4 +1,4 @@ -manifest-creation | probot

    Module manifest-creation

    Index

    Classes

    ManifestCreation +manifest-creation | probot

    Module manifest-creation

    Index

    Classes

    Module octokit/get-authenticated-octokit

    Index

    Functions

    getAuthenticatedOctokit +octokit/get-authenticated-octokit | probot

    Module octokit/get-octokit-throttle-options

    Index

    Functions

    getOctokitThrottleOptions +octokit/get-octokit-throttle-options | probot

    Module octokit/get-probot-octokit-with-defaults

    Index

    Functions

    getProbotOctokitWithDefaults +octokit/get-probot-octokit-with-defaults | probot

    Module octokit/get-webhooks

    Index

    Functions

    getWebhooks +octokit/get-webhooks | probot

    Module octokit/get-webhooks

    Index

    Functions

    Module octokit/octokit-plugin-probot-request-logging

    Index

    Functions

    probotRequestLogging +octokit/octokit-plugin-probot-request-logging | probot

    Module octokit/octokit-webhooks-transform

    Index

    Functions

    webhookTransform +octokit/octokit-webhooks-transform | probot

    Module octokit/octokit-webhooks-transform

    Index

    Functions

    Module octokit/probot-octokit

    Index

    Type Aliases

    ProbotOctokit +octokit/probot-octokit | probot

    Module octokit/probot-octokit

    Index

    Type Aliases

    Variables

    Module probot

    Index

    Classes

    Probot +probot | probot

    Module probot

    Index

    Classes

    Type Aliases

    Module run

    Index

    Functions

    run +run | probot

    Module run

    Index

    Functions

    Module server/logging-middleware

    Index

    Functions

    getLoggingMiddleware +server/logging-middleware | probot

    Module server/logging-middleware

    Index

    Functions

    Module server/server

    Index

    Classes

    Server +server/server | probot

    Module server/server

    Index

    Classes

    Variables

    Module types

    Index

    Interfaces

    Options +types | probot

    Module types

    Index

    Interfaces

    Type Aliases

    ApplicationFunction ApplicationFunctionOptions Env diff --git a/api/13.3.8/modules/version.html b/api/13.3.8/modules/version.html index 94163559e76..07fee6dbbed 100644 --- a/api/13.3.8/modules/version.html +++ b/api/13.3.8/modules/version.html @@ -1,4 +1,4 @@ -version | probot

    Module version

    Index

    Variables

    VERSION +version | probot

    Module version

    Index

    Variables

    Module views/import

    Index

    Functions

    importView +views/import | probot

    Module views/import

    Index

    Functions

    Module views/probot

    Index

    Functions

    probotView +views/probot | probot

    Module views/probot

    Index

    Functions

    Module views/setup

    Index

    Functions

    setupView +views/setup | probot

    Module views/setup

    Index

    Functions

    Module views/success

    Index

    Functions

    successView +views/success | probot

    Module views/success

    Index

    Functions

    Type Alias MergeOptions

    MergeOptions: merge.Options

    Type Alias MergeOptions

    MergeOptions: merge.Options
    diff --git a/api/13.3.8/types/helpers_get_log.GetLogOptions.html b/api/13.3.8/types/helpers_get_log.GetLogOptions.html index 986a3bc622d..12a201fe77e 100644 --- a/api/13.3.8/types/helpers_get_log.GetLogOptions.html +++ b/api/13.3.8/types/helpers_get_log.GetLogOptions.html @@ -1,4 +1,4 @@ -GetLogOptions | probot

    Type Alias GetLogOptions

    GetLogOptions: {
        level?: LogLevel;
        logMessageKey?: string;
    } & Options

    Type Alias GetLogOptions

    GetLogOptions: {
        level?: LogLevel;
        logMessageKey?: string;
    } & Options
    diff --git a/api/13.3.8/types/octokit_probot_octokit.ProbotOctokit.html b/api/13.3.8/types/octokit_probot_octokit.ProbotOctokit.html index 256d45593de..61281d555fc 100644 --- a/api/13.3.8/types/octokit_probot_octokit.ProbotOctokit.html +++ b/api/13.3.8/types/octokit_probot_octokit.ProbotOctokit.html @@ -1,4 +1,4 @@ -ProbotOctokit | probot
    ProbotOctokit: InstanceType<typeof ProbotOctokit>
    ProbotOctokit: InstanceType<typeof ProbotOctokit>
    diff --git a/api/13.3.8/types/probot.Constructor.html b/api/13.3.8/types/probot.Constructor.html index 4e77b11cb25..0cdfc722d30 100644 --- a/api/13.3.8/types/probot.Constructor.html +++ b/api/13.3.8/types/probot.Constructor.html @@ -1,4 +1,4 @@ -Constructor | probot

    Type Alias Constructor<T>

    Constructor<T>: (new (...args: any[]) => T)

    Type Parameters

    • T = any

    Type Alias Constructor<T>

    Constructor<T>: (new (...args: any[]) => T)

    Type Parameters

    • T = any
    diff --git a/api/13.3.8/types/types.ApplicationFunction.html b/api/13.3.8/types/types.ApplicationFunction.html index 78b8b38fe7f..dca45c68a75 100644 --- a/api/13.3.8/types/types.ApplicationFunction.html +++ b/api/13.3.8/types/types.ApplicationFunction.html @@ -1,4 +1,4 @@ -ApplicationFunction | probot

    Type Alias ApplicationFunction

    ApplicationFunction: ((app: Probot, options: ApplicationFunctionOptions) => void | Promise<void>)

    Type Alias ApplicationFunction

    ApplicationFunction: ((app: Probot, options: ApplicationFunctionOptions) => void | Promise<void>)
    diff --git a/api/13.3.8/types/types.ApplicationFunctionOptions.html b/api/13.3.8/types/types.ApplicationFunctionOptions.html index 76dafa747e5..ec5979573fa 100644 --- a/api/13.3.8/types/types.ApplicationFunctionOptions.html +++ b/api/13.3.8/types/types.ApplicationFunctionOptions.html @@ -1,4 +1,4 @@ -ApplicationFunctionOptions | probot

    Type Alias ApplicationFunctionOptions

    ApplicationFunctionOptions: {
        cwd?: string;
        getRouter?: ((path?: string) => express.Router);
        [key: string]: unknown;
    }

    Type Alias ApplicationFunctionOptions

    ApplicationFunctionOptions: {
        cwd?: string;
        getRouter?: ((path?: string) => express.Router);
        [key: string]: unknown;
    }
    diff --git a/api/13.3.8/types/types.Env.html b/api/13.3.8/types/types.Env.html index a1d337d52b7..a5630973d5b 100644 --- a/api/13.3.8/types/types.Env.html +++ b/api/13.3.8/types/types.Env.html @@ -1,4 +1,4 @@ -Env | probot

    Type Alias Env

    Env: Record<Uppercase<string>, string>

    Type Alias Env

    Env: Record<Uppercase<string>, string>
    diff --git a/api/13.3.8/types/types.Manifest.html b/api/13.3.8/types/types.Manifest.html index ebe388cf3c1..77a147e53f0 100644 --- a/api/13.3.8/types/types.Manifest.html +++ b/api/13.3.8/types/types.Manifest.html @@ -10,7 +10,7 @@
  • Optionalsetup_on_update?: boolean

    Set to true to redirect users to the setup_url after they update your GitHub App installation.

  • Optionalsetup_url?: string

    A full URL to redirect users to after they install your GitHub App if additional setup is required.

  • url: string

    Required. The homepage of your GitHub App.

    -
diff --git a/api/13.3.8/types/types.MiddlewareOptions.html b/api/13.3.8/types/types.MiddlewareOptions.html index bf0975a4461..b7b0b4a8221 100644 --- a/api/13.3.8/types/types.MiddlewareOptions.html +++ b/api/13.3.8/types/types.MiddlewareOptions.html @@ -1,4 +1,4 @@ -MiddlewareOptions | probot

Type Alias MiddlewareOptions

MiddlewareOptions: {
    probot: Probot;
    webhooksPath?: string;
    [key: string]: unknown;
}

Type Alias MiddlewareOptions

MiddlewareOptions: {
    probot: Probot;
    webhooksPath?: string;
    [key: string]: unknown;
}
diff --git a/api/13.3.8/types/types.OctokitOptions.html b/api/13.3.8/types/types.OctokitOptions.html index 59a88d8ef78..d1a073fc77c 100644 --- a/api/13.3.8/types/types.OctokitOptions.html +++ b/api/13.3.8/types/types.OctokitOptions.html @@ -1,4 +1,4 @@ -OctokitOptions | probot

Type Alias OctokitOptions

OctokitOptions: NonNullable<ConstructorParameters<typeof ProbotOctokit>[0]>

Type Alias OctokitOptions

OctokitOptions: NonNullable<ConstructorParameters<typeof ProbotOctokit>[0]>
diff --git a/api/13.3.8/types/types.PackageJson.html b/api/13.3.8/types/types.PackageJson.html index 6bf776e7757..ce505f4fff1 100644 --- a/api/13.3.8/types/types.PackageJson.html +++ b/api/13.3.8/types/types.PackageJson.html @@ -1,4 +1,4 @@ -PackageJson | probot

Type Alias PackageJson

PackageJson: {
    description?: string;
    engines?: {
        [key: string]: string;
    };
    homepage?: string;
    name?: string;
    repository?: string;
    version?: string;
}

Type Alias PackageJson

PackageJson: {
    description?: string;
    engines?: {
        [key: string]: string;
    };
    homepage?: string;
    name?: string;
    repository?: string;
    version?: string;
}
diff --git a/api/13.3.8/types/types.ProbotWebhooks.html b/api/13.3.8/types/types.ProbotWebhooks.html index fdcb4dd01a3..8c051323540 100644 --- a/api/13.3.8/types/types.ProbotWebhooks.html +++ b/api/13.3.8/types/types.ProbotWebhooks.html @@ -1,4 +1,4 @@ -ProbotWebhooks | probot

Type Alias ProbotWebhooks

ProbotWebhooks: Webhooks<SimplifiedObject>

Type Alias ProbotWebhooks

ProbotWebhooks: Webhooks<SimplifiedObject>
diff --git a/api/13.3.8/types/types.ServerOptions.html b/api/13.3.8/types/types.ServerOptions.html index ab878dbaed0..478cf34b8d5 100644 --- a/api/13.3.8/types/types.ServerOptions.html +++ b/api/13.3.8/types/types.ServerOptions.html @@ -1,4 +1,4 @@ -ServerOptions | probot

Type Alias ServerOptions

ServerOptions: {
    cwd?: string;
    host?: string;
    log?: Logger;
    loggingOptions?: LoggingOptions;
    port?: number;
    Probot: typeof Probot;
    request?: RequestRequestOptions;
    webhookPath?: string;
    webhookProxy?: string;
}

Type Alias ServerOptions

ServerOptions: {
    cwd?: string;
    host?: string;
    log?: Logger;
    loggingOptions?: LoggingOptions;
    port?: number;
    Probot: typeof Probot;
    request?: RequestRequestOptions;
    webhookPath?: string;
    webhookProxy?: string;
}
diff --git a/api/13.3.8/types/types.State.html b/api/13.3.8/types/types.State.html index 5de3197af66..9496d385884 100644 --- a/api/13.3.8/types/types.State.html +++ b/api/13.3.8/types/types.State.html @@ -1,4 +1,4 @@ -State | probot

Type Alias State

State: {
    appId?: number;
    baseUrl?: string;
    cache?: LRUCache<number, string>;
    githubToken?: string;
    host?: string;
    log: Logger;
    octokit: ProbotOctokit;
    Octokit: typeof ProbotOctokit;
    port?: number;
    privateKey?: string;
    request?: RequestRequestOptions;
    webhookPath: string;
    webhooks: {
        secret?: string;
    };
}

Type Alias State

State: {
    appId?: number;
    baseUrl?: string;
    cache?: LRUCache<number, string>;
    githubToken?: string;
    host?: string;
    log: Logger;
    octokit: ProbotOctokit;
    Octokit: typeof ProbotOctokit;
    port?: number;
    privateKey?: string;
    request?: RequestRequestOptions;
    webhookPath: string;
    webhooks: {
        secret?: string;
    };
}
diff --git a/api/13.3.8/variables/octokit_probot_octokit.ProbotOctokit-1.html b/api/13.3.8/variables/octokit_probot_octokit.ProbotOctokit-1.html index fa1c4c1e623..f8f368b887e 100644 --- a/api/13.3.8/variables/octokit_probot_octokit.ProbotOctokit-1.html +++ b/api/13.3.8/variables/octokit_probot_octokit.ProbotOctokit-1.html @@ -1,4 +1,4 @@ -ProbotOctokit | probot
ProbotOctokit: typeof Octokit & Constructor<{} & {} & RestEndpointMethods & Api & API> = ...
ProbotOctokit: typeof Octokit & Constructor<{} & {} & RestEndpointMethods & Api & API> = ...
diff --git a/api/13.3.8/variables/server_server.defaultWebhooksPath.html b/api/13.3.8/variables/server_server.defaultWebhooksPath.html index 385b049bb5a..fcbc809d9e5 100644 --- a/api/13.3.8/variables/server_server.defaultWebhooksPath.html +++ b/api/13.3.8/variables/server_server.defaultWebhooksPath.html @@ -1,4 +1,4 @@ -defaultWebhooksPath | probot

Variable defaultWebhooksPathConst

defaultWebhooksPath: "/api/github/webhooks" = "/api/github/webhooks"

Variable defaultWebhooksPathConst

defaultWebhooksPath = "/api/github/webhooks"
diff --git a/api/13.3.8/variables/version.VERSION.html b/api/13.3.8/variables/version.VERSION.html index d3c6ec92699..5d73142c32f 100644 --- a/api/13.3.8/variables/version.VERSION.html +++ b/api/13.3.8/variables/version.VERSION.html @@ -1,4 +1,4 @@ -VERSION | probot

Variable VERSIONConst

VERSION: "0.0.0-development" = "0.0.0-development"

Variable VERSIONConst

VERSION = "0.0.0-development"