Skip to content

Commit dc1a657

Browse files
committed
add gitlab mr
1 parent 36aa0ba commit dc1a657

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
TOKEN "append" APPEND
2+
3+
# Refer to https://docs.gitlab.com/ee/user/project/integrations/webhook_events.html#work-item-events
4+
5+
TAGS "gitlab"
6+
7+
SCHEMA >
8+
`object_kind` String `json:$.object_kind`,
9+
`event_type` String `json:$.event_type`,
10+
`user_id` String `json:$.user.id`,
11+
`user` JSON `json:$.user`,
12+
`project_id` String `json:$.project.id`,
13+
`project` JSON `json:$.project`,
14+
`object_attributes` JSON `json:$.object_attributes`,
15+
`repository_name` String `json:$.repository.name`,
16+
`repository` JSON `json:$.repository`,
17+
`assignees` Array(JSON) `json:$.assignees` DEFAULT '[]',
18+
`assignee` JSON `json:$.assignee` DEFAULT '{}',
19+
`labels` Array(JSON) `json:$.labels` DEFAULT '[]',
20+
`changes` JSON `json:$.changes` DEFAULT '{}',
21+
`reviewers` Array(JSON) `json:$.reviewers` DEFAULT '[]'
22+
23+
24+
ENGINE "MergeTree"
25+
ENGINE_SORTING_KEY "project_id, repository_name, user_id"

0 commit comments

Comments
 (0)