aboutsummaryrefslogtreecommitdiff
path: root/modules/form
diff options
context:
space:
mode:
Diffstat (limited to 'modules/form')
-rw-r--r--modules/form/repo.go17
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 {