.
This commit is contained in:
parent
b7fa44ea09
commit
0a0686eaf7
@ -28,6 +28,8 @@ func main() {
|
||||
|
||||
defs.Url = PrReview
|
||||
defs.GitAuthor = GitAuthor
|
||||
|
||||
defs.Handlers=make(map[string]common.RequestProcessor)
|
||||
defs.Handlers[common.RequestType_PR] = processPullRequest
|
||||
|
||||
common.RequireGiteaSecretToken()
|
||||
|
@ -72,6 +72,8 @@ func main() {
|
||||
|
||||
defs.Url = "prjgit-updater"
|
||||
defs.GitAuthor = "GiteaBot - AutoDevel"
|
||||
|
||||
defs.Handlers=make(map[string]common.RequestProcessor)
|
||||
defs.Handlers[common.RequestType_Push] = processPushAction
|
||||
defs.Handlers[common.RequestType_Repository] = processRepositoryAction
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user