Commit f02589e8 authored by Atrox's avatar Atrox Committed by Sander van Harmelen

Add pipeline details to merge request (#418)

* add pipeline to merge request

* sha in caps
parent 8a20d674
......@@ -105,6 +105,12 @@ type MergeRequest struct {
} `json:"changes"`
TimeStats *TimeStats `json:"time_stats"`
Squash bool `json:"squash"`
Pipeline struct {
ID int `json:"id"`
Ref string `json:"ref"`
SHA string `json:"sha"`
Status string `json:"status"`
} `json:"pipeline"`
}
func (m MergeRequest) String() string {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment