Skip to content

Commit 159a4db

Browse files
lunnylafrikstechknowlogick
authored
Add missed sync branch/tag webhook (#13538) (#13556)
Co-authored-by: Lauris BH <[email protected]> Co-authored-by: techknowlogick <[email protected]> Co-authored-by: Lauris BH <[email protected]> Co-authored-by: techknowlogick <[email protected]>
1 parent b4d18da commit 159a4db

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

modules/notification/webhook/webhook.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -797,3 +797,11 @@ func (m *webhookNotifier) NotifySyncPushCommits(pusher *models.User, repo *model
797797
log.Error("PrepareWebhooks: %v", err)
798798
}
799799
}
800+
801+
func (m *webhookNotifier) NotifySyncCreateRef(pusher *models.User, repo *models.Repository, refType, refFullName string) {
802+
m.NotifyCreateRef(pusher, repo, refType, refFullName)
803+
}
804+
805+
func (m *webhookNotifier) NotifySyncDeleteRef(pusher *models.User, repo *models.Repository, refType, refFullName string) {
806+
m.NotifyDeleteRef(pusher, repo, refType, refFullName)
807+
}

0 commit comments

Comments
 (0)