forked from forgejo/forgejo
add webhook recent deliveries
This commit is contained in:
parent
fc2d0e5470
commit
23f42d92c9
18 changed files with 474 additions and 233 deletions
|
@ -82,6 +82,7 @@ var (
|
|||
DeliverTimeout int
|
||||
SkipTLSVerify bool
|
||||
Types []string
|
||||
PagingNum int
|
||||
}
|
||||
|
||||
// Repository settings.
|
||||
|
@ -601,6 +602,7 @@ func newWebhookService() {
|
|||
Webhook.DeliverTimeout = sec.Key("DELIVER_TIMEOUT").MustInt(5)
|
||||
Webhook.SkipTLSVerify = sec.Key("SKIP_TLS_VERIFY").MustBool()
|
||||
Webhook.Types = []string{"gogs", "slack"}
|
||||
Webhook.PagingNum = sec.Key("PAGING_NUM").MustInt(10)
|
||||
}
|
||||
|
||||
func NewServices() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue