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>
2020-09-02 22:46:02 -04:00
..
2020-07-17 18:15:12 +03:00
2020-04-05 07:20:50 +01:00
2019-06-12 15:41:28 -04:00
2018-11-04 22:20:00 -05:00
2019-06-12 15:41:28 -04:00
2020-08-13 10:11:24 -04:00
2019-11-22 08:03:45 +00:00
2019-03-08 11:42:50 -05:00
2020-08-28 09:36:37 +08:00
2020-08-27 22:47:17 -04:00
2019-08-17 13:10:17 +03:00
2020-04-05 07:20:50 +01:00