From e5ca6fa515c5f4407afd1ea8bd390de8065e44fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=97=E6=81=92=E9=94=90?= Date: Mon, 26 Aug 2019 14:57:29 +0800 Subject: [PATCH] feat: support resolving pipeline param --- gitlab/payload.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gitlab/payload.go b/gitlab/payload.go index 680a741..983e40b 100644 --- a/gitlab/payload.go +++ b/gitlab/payload.go @@ -354,6 +354,7 @@ type ObjectAttributes struct { Target Target `json:"target"` LastCommit LastCommit `json:"last_commit"` Assignee Assignee `json:"assignee"` + HeadPipelineID int64 `json:"head_pipeline_id"` } // Position defines a specific location, identified by paths line numbers and @@ -401,6 +402,7 @@ type MergeRequest struct { LastCommit LastCommit `json:"last_commit"` WorkInProgress bool `json:"work_in_progress"` Assignee Assignee `json:"assignee"` + HeadPipelineID int64 `json:"head_pipeline_id"` } // Assignee contains all of the GitLab assignee information