mirror of
https://github.com/harness/drone.git
synced 2025-05-02 13:40:22 +00:00
Merge pull request #1895 from mjwwit/master
Enable all webhook events by default for Gogs remote
This commit is contained in:
commit
c8a97d0453
@ -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…
x
Reference in New Issue
Block a user