Commit Graph

29 Commits

Author SHA1 Message Date
Muhammad Fadhlika 4399abf450 add id and email in gitlab user 2021-05-21 15:14:01 +07:00
Riyadh Al Nur e55d994db5 FIX: gitlab merge request event assignee payload
- gitlab updated their MR payload which adds a parent field
for the list of assignees
- this fix update the Assignee struct to add the missing `Email`
and `ID` field
- adds an array of assignees as part of the MR event payload

Closes #101
2021-05-02 16:10:26 +08:00
Anton Krivenko b3a37b9b9a Merge pull request #126 from shaheed121/fix_gitlab_payload
Changing duration types from int64 to float64
2021-01-21 19:17:38 +03:00
Abdul Shaheed 56d9dffd38 Changing duration types from int64 to float64 2021-01-11 20:27:51 +01:00
Anton Krivenko 433ece5b7b Preparations for the go modules way of work 2021-01-10 01:30:18 +03:00
Anton Krivenko 8a870336ee Merge pull request #110 from wasphin/patch-1
gitlab: fix a typo
2021-01-06 21:54:58 +03:00
Abdul Shaheed b79b935d9e Modify Job and Pipeline events as per https://docs.gitlab.com/ee/user/project/integrations/webhooks.html
Also, modified dependent types like Repository, MergeRequest, Commit to reflect the latest payload.
2020-12-24 11:51:07 +01:00
Anton Krivenko 30fb8f885f Merge pull request #114 from takirala/tga/add-labels-support
gitlab: Add labels array in MergeRequestEventPayload
2020-11-10 23:20:39 +03:00
Tarun Gupta Akirala 4156f32687 gitlab: Add labels array in MergeRequestEventPayload 2020-07-14 20:50:27 -07:00
aritas1 b03dc868a0 update system hooks to handle event_name fields 2020-05-31 01:37:42 +02:00
Xiaofeng Wang fafbb08b19 gitlab: fix a typo 2020-05-26 10:51:49 +08:00
Grzegorz Korzeniowski 743f78a93d Add missing UserUsername in TagEventPayload 2020-04-15 15:23:23 +02:00
Grzegorz Korzeniowski a4dc35a54d Add missing UserUsername in PushEventPayload 2020-04-09 15:14:43 +02:00
Marcin Wyszynski cc63869891 Add missing ID for Project 2020-03-30 14:52:52 +02:00
Anton Krivenko f248671aae Fixed pipeline hook for GitLab >= 12.3 2019-09-28 23:17:57 +03:00
Alan D. Cabrera 471fb52f8c Update position to struct
Position defines a specific location, identified by paths line numbers and
image coordinates, within a specific diff, identified by start, head and
base commit ids.

Text position will have: new_line and old_line
Image position will have: width, height, x, y
2019-06-01 21:19:40 -07:00
Alan D. Cabrera a8ef7768a6 Update Pipeline even with jobs 2019-05-20 06:53:40 -07:00
Daniel Silverman 21587e152e Add support for Job Events
Closes go-playground/webhooks#70, closes go-playground/webhooks#71
2019-05-18 21:46:08 -07:00
Martin Treml 1b9fe11c1f Add gitlab system hook parsing
If you use gitlab system hooks you can now send push/tag_push/merge_request events
2018-12-20 17:09:12 +01:00
Xackery Xtal 4708dcb9f1 Added runner to gitlab 2018-10-19 18:28:45 -07:00
Dean Karn fe5cf5a911 test working 2018-07-31 08:46:17 -07:00
lukepatrick 9cafa895ff update MergeRequestEvent payload with Project, Repo objects from the API 2018-02-14 12:45:52 -07:00
Štěpán Pilař 78ce03b046 [GitLab] Parse label changes on issue and MR events 2017-12-17 17:50:34 +01:00
Dean Karn 5462959f1e Merge pull request #18 from tulir/patch-2
[GitLab] Add support for confidential issues
2017-10-01 19:17:33 -07:00
Tulir Asokan 13e6611c00 Add separate payload type for confidential issues 2017-10-01 23:13:19 +03:00
Tulir Asokan 203bf4218b Fix type of SourceProjectID in MergeRequest struct
It should be an int64, but was a string.
https://docs.gitlab.com/ce/user/project/integrations/webhooks.html#comment-on-merge-request

The incorrect type caused the MergeRequest field in comment event payloads to be empty.
2017-09-29 19:54:03 +00:00
Dean Karn 0d7e42cf96 correct some spelling 2017-04-21 22:13:16 -04:00
Dean Karn 2d256610b0 Update BitBucket + GitLab Payloads 2017-04-21 22:03:45 -04:00
Dean Karn fe7552fcf4 Add GitLab support 2017-04-08 11:40:22 -04:00