Improve GitHub webhooks for releases
I think Discord could improve the webhooks in combination with GitHub.
Right now does GitHub only send a webhook, that informs about a new release being made, but doesn't display more info unlike issues, Pull requests or PR reviews, where the content of the issue, PR or review is displayed.
My suggestion is to change the webhook, to also display the following things:
- The release title, when not null (In the JSON under release -> name)
- The content/description of the release, when not null (In the JSON under release -> body)
This would help informing others about what has changed in new releases without requiring them to actually load the site (and exit discord >~<)
An example of how the webhook could look like is below (Created with the embed Visualizer from leovoel)
-
Native Discord/Github webhooks in general could use an overhaul. Many of them are quite ugly and missing a lot of information. Look at the screenshot below, this is posted when you close an issue. The message is ugly and doesn't use the very many embed options Discord actually has.
0 -
To be fair @Woeler, what should they show there? Closing an issue doesn't really give that much info to display. Like at most could they also show who closed it. And since comments on issues (including those send when closing an issue) are separate embeds for webhooks, would it not make sense to display those within a "Issue closed" message.
0 -
Would definitely love a more rich Github webhook setup. Specifically, adding descriptions to the release hooks would be awesome
0 -
Yes, please! This is exactly what I want for my discord server!
0
Please sign in to leave a comment.
Comments
4 comments