1
1
mirror of https://github.com/go-gitea/gitea synced 2025-01-13 03:04:27 +00:00
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-06-24 23:39:43 -04:00
2020-06-24 23:39:43 -04:00
2020-06-24 23:39:43 -04:00
2020-06-24 23:39:43 -04:00
2020-06-24 23:39:43 -04:00