From f0086e66aef31573c7f00e0c3cd7725fb6d65f5c Mon Sep 17 00:00:00 2001 From: Unknwon Date: Fri, 24 Feb 2017 15:35:20 -0500 Subject: webhook: able to detect delete branch or tag (#2315) --- modules/form/repo.go | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/form') diff --git a/modules/form/repo.go b/modules/form/repo.go index 0f3e83ce..df5ca49a 100644 --- a/modules/form/repo.go +++ b/modules/form/repo.go @@ -135,6 +135,7 @@ func (f *ProtectBranch) Validate(ctx *macaron.Context, errs binding.Errors) bind type Webhook struct { Events string Create bool + Delete bool Push bool PullRequest bool Active bool -- cgit v1.2.3