You've already forked woodpecker
mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2026-06-03 16:35:37 +02:00
BitbucketDC: add event pull request opened (#5048)
Co-authored-by: tal <tal@localhost>
This commit is contained in:
@@ -423,7 +423,7 @@ func (c *client) Activate(ctx context.Context, u *model.User, r *model.Repo, lin
|
||||
webhook := &bb.Webhook{
|
||||
Name: "Woodpecker",
|
||||
URL: link,
|
||||
Events: []bb.EventKey{bb.EventKeyRepoRefsChanged, bb.EventKeyPullRequestFrom, bb.EventKeyPullRequestMerged, bb.EventKeyPullRequestDeclined, bb.EventKeyPullRequestDeleted},
|
||||
Events: []bb.EventKey{bb.EventKeyRepoRefsChanged, bb.EventKeyPullRequestFrom, bb.EventKeyPullRequestMerged, bb.EventKeyPullRequestDeclined, bb.EventKeyPullRequestDeleted, bb.EventKeyPullRequestOpened},
|
||||
Active: true,
|
||||
Config: &bb.WebhookConfiguration{
|
||||
Secret: r.Hash,
|
||||
|
||||
Reference in New Issue
Block a user