diff options
author | Lauris BH <lauris@nix.lv> | 2018-09-07 05:06:09 +0300 |
---|---|---|
committer | techknowlogick <techknowlogick@users.noreply.github.com> | 2018-09-06 22:06:09 -0400 |
commit | fa4663e61e39f0cef225ea92235a16e7da977b08 (patch) | |
tree | 7a4a784295c5b0efea8319352ca9987e4abe4148 /modules | |
parent | bf552761894dee08f734d91f5c8175cd0cb2f9f5 (diff) | |
download | gitea-fa4663e61e39f0cef225ea92235a16e7da977b08.tar.gz gitea-fa4663e61e39f0cef225ea92235a16e7da977b08.zip |
Add push webhook support for mirrored repositories (#4127)
Diffstat (limited to 'modules')
-rw-r--r-- | modules/templates/helper.go | 2 |
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" } |