mirror of
https://github.com/gogs/gogs.git
synced 2025-12-20 23:30:00 +01:00
webhook: able to detect delete branch or tag (#2315)
This commit is contained in:
@@ -135,6 +135,7 @@ func (f *ProtectBranch) Validate(ctx *macaron.Context, errs binding.Errors) bind
|
||||
type Webhook struct {
|
||||
Events string
|
||||
Create bool
|
||||
Delete bool
|
||||
Push bool
|
||||
PullRequest bool
|
||||
Active bool
|
||||
|
||||
Reference in New Issue
Block a user