1
0
Fork 0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2025-04-27 05:54:44 +00:00

Merge pull request from mjwwit/master

Enable all webhook events by default for Gogs remote
This commit is contained in:
Brad Rydzewski 2017-01-03 15:09:38 -05:00 committed by GitHub
commit c8a97d0453

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