1+ TOKEN "append" APPEND
2+
3+ # Refer to https://docs.gitlab.com/ee/user/project/integrations/webhook_events.html#push-events
4+
5+ TAGS "gitlab"
6+
7+ SCHEMA >
8+ `object_kind` String `json:$.object_kind`,
9+ `event_name` String `json:$.event_name`,
10+ `before` String `json:$.before`,
11+ `after` String `json:$.after`,
12+ `ref` String `json:$.ref`,
13+ `ref_protected` Boolean `json:$.ref_protected`,
14+ `checkout_sha` String `json:$.checkout_sha`,
15+ `user_id` String `json:$.user_id`,
16+ `user_name` String `json:$.user_name`,
17+ `user_username` String `json:$.user_username`,
18+ `user_email` String `json:$.user_email`,
19+ `user_avatar` String `json:$.user_avatar`,
20+ `project_id` String `json:$.project_id`,
21+ `project` JSON `json:$.project` DEFAULT '{}',
22+ `repository_name` String `json:$.repository.name`,
23+ `repository` JSON `json:$.repository` DEFAULT '{}',
24+ `commits` Array(JSON) `json:$.commits` DEFAULT '[]',
25+ `total_commits_count` Int64 `json:$.total_commits_count`
26+
27+ ENGINE "MergeTree"
28+ ENGINE_SORTING_KEY "project_id, repository_name, user_id"
0 commit comments