Merge pull request #18 from tulir/patch-2

[GitLab] Add support for confidential issues
This commit is contained in:
Dean Karn
2017-10-01 19:17:33 -07:00
committed by GitHub
2 changed files with 21 additions and 8 deletions
+7
View File
@@ -40,6 +40,13 @@ type IssueEventPayload struct {
Assignee Assignee `json:"assignee"`
}
// ConfidentialIssueEventPayload contains the information for GitLab's confidential issue event
type ConfidentialIssueEventPayload struct {
// The data for confidential issues is currently the same as normal issues,
// so we can just embed the normal issue payload type here.
IssueEventPayload
}
// MergeRequestEventPayload contains the information for GitLab's merge request event
type MergeRequestEventPayload struct {
ObjectKind string `json:"object_kind"`