Skip to main content

Webhooks 文档

Webhook 可以让你的集成在 GitHub 上发生事件时做出响应。

文章

Handle webhook deliveries

Webhook 事件和有效负载

了解每个 Webhook 事件发生的时间以及有效负载包含的内容。

Test and troubleshoot

Webhook 疑难解答

了解如何诊断和解决 Webhook 的常见错误。

Set up and manage webhooks

Webhook 的类型

可以创建 Webhook 来订阅特定存储库、组织、GitHub Enterprise、GitHub Marketplace帐户、GitHub Sponsors帐户或GitHub App中发生的事件。

Test and troubleshoot

使用 GitHub CLI 转发 Webhooks 进行测试

可以使用 GitHub CLI 在开发环境中测试 Webhook,避免了端口转发或使用第三方工具带来的复杂性。

Set up and manage webhooks

使用 Webhook 的最佳做法

在使用 Webhook 时遵循以下最佳做法以提高安全性和性能。

Set up and manage webhooks

关于 网络钩子

Webhook 提供了一种方式:当 GitHub 上发生某些事件时,将通知发送到外部 Web 服务器。

Set up and manage webhooks

创建网络钩子

您可以创建 Webhook 来订阅在 GitHub 上发生的特定事件。

Handle webhook deliveries

处理 Webhook 交付

了解如何编写代码来侦听和响应 Webhook 交付。

Handle webhook deliveries

处理失败的 Webhook 交付

GitHub 不会自动重新传送失败的 Webhook 交付,但你可以手动或通过编写代码来处理失败的交付。

显示 19 的 1-9