summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorLauris BH <lauris@nix.lv>2018-09-07 05:06:09 +0300
committertechknowlogick <techknowlogick@users.noreply.github.com>2018-09-06 22:06:09 -0400
commitfa4663e61e39f0cef225ea92235a16e7da977b08 (patch)
tree7a4a784295c5b0efea8319352ca9987e4abe4148 /modules
parentbf552761894dee08f734d91f5c8175cd0cb2f9f5 (diff)
downloadgitea-fa4663e61e39f0cef225ea92235a16e7da977b08.tar.gz
gitea-fa4663e61e39f0cef225ea92235a16e7da977b08.zip
Add push webhook support for mirrored repositories (#4127)
Diffstat (limited to 'modules')
-rw-r--r--modules/templates/helper.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/templates/helper.go b/modules/templates/helper.go
index c46a293be8..d55c122df0 100644
--- a/modules/templates/helper.go
+++ b/modules/templates/helper.go
@@ -391,6 +391,8 @@ func ActionIcon(opType models.ActionType) string {
return "issue-closed"
case models.ActionReopenIssue, models.ActionReopenPullRequest:
return "issue-reopened"
+ case models.ActionMirrorSyncPush, models.ActionMirrorSyncCreate, models.ActionMirrorSyncDelete:
+ return "repo-clone"
default:
return "invalid type"
}