GitHub Meta API 新增 Webhook IP 地址段
英文标题:Webhook IP ranges added to the Meta API
GitHub 宣布为其 Webhook 发送服务新增一组 IP 地址段,相关的 Meta API `hooks` 字段现已同步更新。若开发者或团队采用静态网络白名单过滤入站 Webhook 请求,需尽快配置新增的 CIDR 前缀以避免通知接收失败。本次变更适用于包含 GitHub Enterprise Cloud 在内的所有方案;已通过 Meta API 自动化更新白名单的用户则无需进行任何调整。
25.6 KB
中文
GitHub 正在为 github.com 上的 Webhook 发送服务新增部分 IP 地址段。Meta API 现已在 hooks 字段中包含了这些新增网段。
如果您为接收 Webhook 交付维护了静态网络白名单,请将以下 CIDR 前缀添加到现有的 Webhook IP 范围中,以避免请求被拦截拒绝:
9.234.98.160/289.234.98.176/289.234.106.48/28
如果您已使用 Meta API 保持白名单处于最新状态,则针对此次扩容无需执行任何变更。
这些地址段适用于 github.com 上的所有方案(包括 GitHub Enterprise Cloud)的 Webhook 交付。
您可以通过 Meta API 获取最新的 Webhook IP 范围,并参考 Webhook 交付最佳实践。
English / 原文
We’re adding IP ranges for GitHub webhook deliveries on github.com. The Meta API now includes these additional ranges in the hooks field.
If you maintain a static network allowlist for incoming webhook deliveries, add these CIDR prefixes alongside your existing webhook IP ranges to avoid rejecting deliveries:
9.234.98.160/289.234.98.176/289.234.106.48/28
If you already keep your allowlist up to date using the Meta API, no changes are needed for these additions.
These ranges apply to webhook deliveries on github.com across all plans, including GitHub Enterprise Cloud.
You can retrieve the current webhook IP ranges using the Meta API and follow the webhook delivery best practices.