1
0
Fork 0
forked from forgejo/forgejo

Merge branch 'master' into feat/approval-new

This commit is contained in:
Jonas Franz 2018-05-17 14:00:21 +02:00
commit 0f64dad74b
No known key found for this signature in database
GPG key ID: 506AEEBE80BEDECD
57 changed files with 2090 additions and 988 deletions

View file

@ -155,12 +155,17 @@ func (f *ProtectBranchForm) Validate(ctx *macaron.Context, errs binding.Errors)
// WebhookForm form for changing web hook
type WebhookForm struct {
Events string
Create bool
Push bool
PullRequest bool
Repository bool
Active bool
Events string
Create bool
Delete bool
Fork bool
Issues bool
IssueComment bool
Release bool
Push bool
PullRequest bool
Repository bool
Active bool
}
// PushOnly if the hook will be triggered when push