mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-26 20:01:02 +00:00
Enable all webhook events by default for Gogs remote
This commit is contained in:
parent
7272c952a4
commit
64663aba7f
1 changed files with 1 additions and 0 deletions
|
@ -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,
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue