forgejo/services/webhook
Giteabot 1b1f878204
Fix release URL in webhooks (#27182) (#27184)
Backport #27182 by @jolheiser

Resolves #27180

`URL` points to the API URL, `HTMLURL` points to the web page.

Notably, however, for PRs they are the same URL. I switched them to use
HTMLURL to match the rest of the codebase terminology.

Co-authored-by: John Olheiser <john.olheiser@gmail.com>
(cherry picked from commit d8583edfe7)
2023-10-03 14:48:18 +02:00
..
deliver.go [BRANDING] add X-Forgejo-* headers 2023-07-17 00:25:55 +02:00
deliver_test.go
dingtalk.go Fix release URL in webhooks (#27182) (#27184) 2023-10-03 14:48:18 +02:00
dingtalk_test.go Fix release URL in webhooks (#27182) (#27184) 2023-10-03 14:48:18 +02:00
discord.go Fix release URL in webhooks (#27182) (#27184) 2023-10-03 14:48:18 +02:00
discord_test.go Fix release URL in webhooks (#27182) (#27184) 2023-10-03 14:48:18 +02:00
feishu.go
feishu_test.go
general.go Add branch_filter to hooks API endpoints (#26599) (#26632) 2023-09-08 08:07:19 +02:00
general_test.go Fix release URL in webhooks (#27182) (#27184) 2023-10-03 14:48:18 +02:00
main_test.go
matrix.go Fix release URL in webhooks (#27182) (#27184) 2023-10-03 14:48:18 +02:00
matrix_test.go
msteams.go Fix release URL in webhooks (#27182) (#27184) 2023-10-03 14:48:18 +02:00
msteams_test.go Fix release URL in webhooks (#27182) (#27184) 2023-10-03 14:48:18 +02:00
notifier.go For API attachments, use API URL (#25639) (#25814) 2023-07-10 12:56:16 +00:00
packagist.go
packagist_test.go
payloader.go
slack.go Fix release URL in webhooks (#27182) (#27184) 2023-10-03 14:48:18 +02:00
slack_test.go
telegram.go Add ThreadID parameter for Telegram webhooks (#25996) (#26480) 2023-08-21 07:22:19 +02:00
telegram_test.go
webhook.go [BRANDING] define the forgejo webhook type 2023-08-21 07:22:16 +02:00
webhook_test.go
wechatwork.go