mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-09-03 23:02:48 +00:00
Merge pull request #1895 from mjwwit/master
Enable all webhook events by default for Gogs remote
This commit is contained in:
@@ -224,6 +224,7 @@ func (c *client) Activate(u *model.User, r *model.Repo, link string) error {
|
|||||||
hook := gogs.CreateHookOption{
|
hook := gogs.CreateHookOption{
|
||||||
Type: "gogs",
|
Type: "gogs",
|
||||||
Config: config,
|
Config: config,
|
||||||
|
Events: []string{"push", "create", "pull_request"},
|
||||||
Active: true,
|
Active: true,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user