update system hooks to handle event_name fields

This commit is contained in:
aritas1
2020-05-31 01:37:42 +02:00
parent 9f0c3ac5d7
commit b03dc868a0
3 changed files with 14 additions and 4 deletions
+1
View File
@@ -176,6 +176,7 @@ type JobEventPayload struct {
// SystemHookPayload contains the ObjectKind to match with real hook events
type SystemHookPayload struct {
ObjectKind string `json:"object_kind"`
EventName string `json:"event_name"`
}
// Issue contains all of the GitLab issue information