From 3f7f4852efaaa56a0dada832dc652a1fc8869ae7 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Sun, 14 Aug 2016 03:32:24 -0700 Subject: #2246 fully support of webhooks for pull request --- modules/auth/repo_form.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'modules/auth') diff --git a/modules/auth/repo_form.go b/modules/auth/repo_form.go index e9ef2a23..179bc891 100644 --- a/modules/auth/repo_form.go +++ b/modules/auth/repo_form.go @@ -113,10 +113,11 @@ func (f *RepoSettingForm) Validate(ctx *macaron.Context, errs binding.Errors) bi // \/ \/ \/ \/ \/ \/ type WebhookForm struct { - Events string - Create bool - Push bool - Active bool + Events string + Create bool + Push bool + PullRequest bool + Active bool } func (f WebhookForm) PushOnly() bool { -- cgit v1.2.3