From 89cc6aa430c65b87808ee4a159e0a80785b51935 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Thu, 9 Mar 2017 04:11:23 -0500 Subject: webhook: add issue comment event --- modules/form/repo.go | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'modules/form') diff --git a/modules/form/repo.go b/modules/form/repo.go index 7d82b2e4..b26ca954 100644 --- a/modules/form/repo.go +++ b/modules/form/repo.go @@ -133,14 +133,15 @@ func (f *ProtectBranch) Validate(ctx *macaron.Context, errs binding.Errors) bind // \/ \/ \/ \/ \/ \/ type Webhook struct { - Events string - Create bool - Delete bool - Fork bool - Push bool - Issues bool - PullRequest bool - Active bool + Events string + Create bool + Delete bool + Fork bool + Push bool + Issues bool + IssueComment bool + PullRequest bool + Active bool } func (f Webhook) PushOnly() bool { -- cgit v1.2.3