Add gitlab system hook parsing
If you use gitlab system hooks you can now send push/tag_push/merge_request events
This commit is contained in:
@@ -148,6 +148,11 @@ type BuildEventPayload struct {
|
||||
Repository Repository `json:"repository"`
|
||||
}
|
||||
|
||||
// SystemHookPayload contains the ObjectKind to match with real hook events
|
||||
type SystemHookPayload struct {
|
||||
ObjectKind string `json:"object_kind"`
|
||||
}
|
||||
|
||||
// Issue contains all of the GitLab issue information
|
||||
type Issue struct {
|
||||
ID int64 `json:"id"`
|
||||
|
||||
Reference in New Issue
Block a user