0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-14 07:35:44 +01:00
gitea/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 1f47ccfacd.

* 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>
2020-09-02 22:46:02 -04:00
..
deliver_test.go Webhook support custom proxy (#8760) 2019-11-08 16:25:53 -05:00
deliver.go Don't use legacy method to send Matrix Webhook (#12348) 2020-07-30 18:04:19 -04:00
dingtalk_test.go prefer NoError/Error over Nil/NotNil (#12271) 2020-07-19 12:53:40 +03:00
dingtalk.go Fix comments webhook panic (#12046) 2020-06-24 23:39:43 -04:00
discord.go Fix comments webhook panic (#12046) 2020-06-24 23:39:43 -04:00
feishu.go Fix comments webhook panic (#12046) 2020-06-24 23:39:43 -04:00
general_test.go Refactor webhooks to reduce code duplication (#9422) 2019-12-28 08:55:09 +00:00
general.go Fix comments webhook panic (#12046) 2020-06-24 23:39:43 -04:00
main_test.go
matrix_test.go Don't use legacy method to send Matrix Webhook (#12348) 2020-07-30 18:04:19 -04:00
matrix.go Don't use legacy method to send Matrix Webhook (#12348) 2020-07-30 18:04:19 -04:00
msteams.go Fix comments webhook panic (#12046) 2020-06-24 23:39:43 -04:00
slack_test.go prefer NoError/Error over Nil/NotNil (#12271) 2020-07-19 12:53:40 +03:00
slack.go Fix comments webhook panic (#12046) 2020-06-24 23:39:43 -04:00
telegram_test.go prefer NoError/Error over Nil/NotNil (#12271) 2020-07-19 12:53:40 +03:00
telegram.go Fix comments webhook panic (#12046) 2020-06-24 23:39:43 -04:00
webhook_test.go Avoid sending "0 new commits" webhooks (#12212) 2020-09-02 22:46:02 -04:00
webhook.go Avoid sending "0 new commits" webhooks (#12212) 2020-09-02 22:46:02 -04:00