mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-22 18:01:02 +00:00
Add release event to webhooks (#3784)
This commit is contained in:
parent
8b387e73ee
commit
760a903a30
2 changed files with 2 additions and 2 deletions
|
@ -381,7 +381,7 @@ func (c *Forgejo) Activate(ctx context.Context, u *model.User, r *model.Repo, li
|
|||
hook := forgejo.CreateHookOption{
|
||||
Type: forgejo.HookTypeForgejo,
|
||||
Config: config,
|
||||
Events: []string{"push", "create", "pull_request"},
|
||||
Events: []string{"push", "create", "pull_request", "release"},
|
||||
Active: true,
|
||||
}
|
||||
|
||||
|
|
|
@ -383,7 +383,7 @@ func (c *Gitea) Activate(ctx context.Context, u *model.User, r *model.Repo, link
|
|||
hook := gitea.CreateHookOption{
|
||||
Type: gitea.HookTypeGitea,
|
||||
Config: config,
|
||||
Events: []string{"push", "create", "pull_request"},
|
||||
Events: []string{"push", "create", "pull_request", "release"},
|
||||
Active: true,
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue