From 22786e438a8468636282bf9d54553fbc8110a3df Mon Sep 17 00:00:00 2001 From: Phil Peble Date: Thu, 9 Nov 2023 16:41:05 -0600 Subject: [PATCH] Add missing name field to Pipelines struct --- notifications_test.go | 2 +- pipelines.go | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/notifications_test.go b/notifications_test.go index 1b971fcaf..a05651b1b 100644 --- a/notifications_test.go +++ b/notifications_test.go @@ -86,7 +86,7 @@ func TestGetProjectSettings(t *testing.T) { } want := &NotificationSettings{ - Level: 5, //custom + Level: 5, // custom Events: &NotificationEvents{ NewEpic: true, NewNote: true, diff --git a/pipelines.go b/pipelines.go index 75a8b6cb5..6dee9dfe7 100644 --- a/pipelines.go +++ b/pipelines.go @@ -49,6 +49,7 @@ type Pipeline struct { Status string `json:"status"` Source string `json:"source"` Ref string `json:"ref"` + Name string `json:"name"` SHA string `json:"sha"` BeforeSHA string `json:"before_sha"` Tag bool `json:"tag"`