From 64663aba7f7d2bb33725183b020ae2ef8783fb29 Mon Sep 17 00:00:00 2001 From: Michael de Wit Date: Tue, 3 Jan 2017 20:31:45 +0100 Subject: [PATCH] Enable all webhook events by default for Gogs remote --- remote/gogs/gogs.go | 1 + 1 file changed, 1 insertion(+) diff --git a/remote/gogs/gogs.go b/remote/gogs/gogs.go index 98cc6f23..e5e77df2 100644 --- a/remote/gogs/gogs.go +++ b/remote/gogs/gogs.go @@ -224,6 +224,7 @@ func (c *client) Activate(u *model.User, r *model.Repo, link string) error { hook := gogs.CreateHookOption{ Type: "gogs", Config: config, + Events: []string{"push", "create", "pull_request"}, Active: true, }