diff options
author | Unknwon <u@gogs.io> | 2017-03-09 04:11:23 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2017-03-09 04:11:23 -0500 |
commit | 89cc6aa430c65b87808ee4a159e0a80785b51935 (patch) | |
tree | 20ac897b69822337a02796ec7a8d9951bd0c285d /modules/form/repo.go | |
parent | c93731339f3da01bb1158acc7acf781f0dfe2468 (diff) |
webhook: add issue comment event
Diffstat (limited to 'modules/form/repo.go')
-rw-r--r-- | modules/form/repo.go | 17 |
1 files changed, 9 insertions, 8 deletions
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 { |