Enable all webhook events by default for Gogs remote

This commit is contained in:
Michael de Wit 2017-01-03 20:31:45 +01:00
parent 7272c952a4
commit 64663aba7f

View file

@ -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,
}