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
deliver.go
dingtalk_test.go
dingtalk.go
discord.go
feishu.go
general_test.go
general.go
main_test.go
matrix_test.go
matrix.go
msteams.go
slack_test.go
slack.go
telegram_test.go
telegram.go
webhook_test.go
webhook.go