Add webhook name field to improve webhook identification (#37025) (#37040)

Add an optional Name field to webhooks so users can give them
human-readable labels instead of relying only on URLs. The webhook
overview page now displays names when available, or falls back to the
URL for unnamed webhooks.

Fixes #37025

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
Nicolasandwxiaoguang authored and GitHub committed 2026-04-01 09:56:20 +08:00
1 parent 0df3213766
commit 35b654c9d6
13 files changed
+110 -1

No files matched your search

+3
View File
@@ -2258,6 +2258,9 @@
"repo.settings.payload_url": "Target URL",
"repo.settings.http_method": "HTTP Method",
"repo.settings.content_type": "POST Content Type",
"repo.settings.webhook.name": "Webhook name",
"repo.settings.webhook.name_helper": "Optionally give this webhook a friendly name",
"repo.settings.webhook.name_empty": "Unnamed Webhook",
"repo.settings.secret": "Secret",
"repo.settings.webhook_secret_desc": "If the webhook server supports using secret, you can follow the webhook's manual and fill in a secret here.",
"repo.settings.slack_username": "Username",