diff --git a/remote/gogs/gogs.go b/remote/gogs/gogs.go index 98cc6f231..e5e77df2f 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, }