From 6631541f85b79286ee10ee9427565225c3287b50 Mon Sep 17 00:00:00 2001 From: advaith Date: Tue, 19 Dec 2023 16:08:32 -0800 Subject: [PATCH] Document GitHub webhook supported events --- docs/resources/Webhook.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/resources/Webhook.md b/docs/resources/Webhook.md index fcbe824dc8..c4b490dfe6 100644 --- a/docs/resources/Webhook.md +++ b/docs/resources/Webhook.md @@ -224,7 +224,7 @@ Refer to [Slack's documentation](https://api.slack.com/incoming-webhooks) for mo ## Execute GitHub-Compatible Webhook % POST /webhooks/{webhook.id#DOCS_RESOURCES_WEBHOOK/webhook-object}/{webhook.token#DOCS_RESOURCES_WEBHOOK/webhook-object}/github -Add a new webhook to your GitHub repo (in the repo's settings), and use this endpoint as the "Payload URL." You can choose what events your Discord channel receives by choosing the "Let me select individual events" option and selecting individual events for the new webhook you're configuring. +[Add a new webhook](https://support.discord.com/hc/en-us/articles/228383668-Intro-to-Webhooks) to your GitHub repo (in the repo's settings), and use this endpoint as the "Payload URL." You can choose what events your Discord channel receives by choosing the "Let me select individual events" option and selecting individual events for the new webhook you're configuring. The supported [events](https://docs.github.com/en/webhooks/webhook-events-and-payloads) are `commit_comment`, `create`, `delete`, `fork`, `issue_comment`, `issues`, `member`, `public`, `pull_request`, `pull_request_review`, `pull_request_review_comment`, `push`, `release`, `watch`, `check_run`, `check_suite`, `discussion`, and `discussion_comment`. ###### Query String Params