gitea/modules/webhook
kolaente 64133126cd
Update golangci-lint to version 1.31.0 ()
This PR updates golangci-lint to the latest version 1.31.0.

The upgrade introduced a new check for which I've fixed or disabled most cases.

Signed-off-by: kolaente <k@knt.li>
..
deliver.go Don't use legacy method to send Matrix Webhook ()
deliver_test.go Webhook support custom proxy ()
dingtalk.go Refactor webhook payload convertion ()
dingtalk_test.go Refactor webhook payload convertion ()
discord.go Refactor webhook payload convertion ()
feishu.go Refactor webhook payload convertion ()
general.go Fix comments webhook panic ()
general_test.go Refactor webhooks to reduce code duplication ()
main_test.go Move webhook to a standalone package under modules ()
matrix.go Refactor webhook payload convertion ()
matrix_test.go Refactor webhook payload convertion ()
msteams.go Fix line break for MS teams webhook ()
payloader.go Refactor webhook payload convertion ()
slack.go Update golangci-lint to version 1.31.0 ()
slack_test.go Refactor webhook payload convertion ()
telegram.go Refactor webhook payload convertion ()
telegram_test.go Refactor webhook payload convertion ()
webhook.go Avoid sending "0 new commits" webhooks ()
webhook_test.go Avoid sending "0 new commits" webhooks ()