From cb586f13ff8d5eb64368d48a838c46670da9b123 Mon Sep 17 00:00:00 2001 From: Amir Hasanbasic Date: Mon, 12 Dec 2022 17:10:36 +0100 Subject: [PATCH] Add optional paused field to project API --- api/models/project_v1_alpha.go | 1 + 1 file changed, 1 insertion(+) diff --git a/api/models/project_v1_alpha.go b/api/models/project_v1_alpha.go index 6d97e85..44144b6 100644 --- a/api/models/project_v1_alpha.go +++ b/api/models/project_v1_alpha.go @@ -13,6 +13,7 @@ type Scheduler struct { Branch string `json:"branch"` At string `json:"at"` PipelineFile string `json:"pipeline_file" yaml:"pipeline_file"` + Status string `json:"status,omitempty" yaml:"status,omitempty"` } type ForkedPullRequests struct {