You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/modules/webhook
S7evinK 7af2ccd511
Avoid sending "0 new commits" webhooks (#12212)
* Avoid sending "0 new commits" webhook

Signed-off-by: Till Faelligen <tfaelligen@gmail.com>

* Revert "Avoid sending "0 new commits" webhook"

This reverts commit 1f47ccfacd81470e2c33a02bb8d255172aa4ec08.

* Move commit count check to more central place

* Make tests pass

* Update modules/webhook/webhook.go

Co-authored-by: Lauris BH <lauris@nix.lv>

Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
4 years ago
..
deliver.go Don't use legacy method to send Matrix Webhook (#12348) 4 years ago
deliver_test.go Webhook support custom proxy (#8760) 5 years ago
dingtalk.go Fix comments webhook panic (#12046) 4 years ago
dingtalk_test.go prefer NoError/Error over Nil/NotNil (#12271) 4 years ago
discord.go Fix comments webhook panic (#12046) 4 years ago
feishu.go Fix comments webhook panic (#12046) 4 years ago
general.go Fix comments webhook panic (#12046) 4 years ago
general_test.go Refactor webhooks to reduce code duplication (#9422) 5 years ago
main_test.go Move webhook to a standalone package under modules (#8747) 5 years ago
matrix.go Don't use legacy method to send Matrix Webhook (#12348) 4 years ago
matrix_test.go Don't use legacy method to send Matrix Webhook (#12348) 4 years ago
msteams.go Fix comments webhook panic (#12046) 4 years ago
slack.go Fix comments webhook panic (#12046) 4 years ago
slack_test.go prefer NoError/Error over Nil/NotNil (#12271) 4 years ago
telegram.go Fix comments webhook panic (#12046) 4 years ago
telegram_test.go prefer NoError/Error over Nil/NotNil (#12271) 4 years ago
webhook.go Avoid sending "0 new commits" webhooks (#12212) 4 years ago
webhook_test.go Avoid sending "0 new commits" webhooks (#12212) 4 years ago