1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-12-30 10:11:23 +02:00

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