File tree Expand file tree Collapse file tree 4 files changed +5
-0
lines changed Expand file tree Collapse file tree 4 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -113,6 +113,7 @@ func main() {
113113 fmt .Printf (format , "wall enabled" , strconv .FormatBool (project .WallEnabled ))
114114 fmt .Printf (format , "wiki enabled" , strconv .FormatBool (project .WikiEnabled ))
115115 fmt .Printf (format , "created at" , project .CreatedAtRaw )
116+ fmt .Printf (format , "shared runners enabled" , strconv .FormatBool (project .SharedRunners ))
116117 //fmt.Printf(format, "namespace", project.Namespace)
117118
118119 case "branches" :
Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ type Project struct {
5555 SshRepoUrl string `json:"ssh_url_to_repo"`
5656 HttpRepoUrl string `json:"http_url_to_repo"`
5757 WebUrl string `json:"web_url"`
58+ SharedRunners bool `json:"shared_runners_enabled"`
5859}
5960
6061func projects (u string , g * Gitlab ) ([]* Project , error ) {
Original file line number Diff line number Diff line change 2424 "snippets_enabled" : false ,
2525 "created_at" : " 2013-09-30T13: 46: 02Z" ,
2626 "last_activity_at" : " 2013-09-30T13: 46: 02Z" ,
27+ "shared_runners_enabled" : true ,
2728 "namespace" : {
2829 "created_at" : " 2013-09-30T13: 46: 02Z" ,
2930 "description" : " " ,
5960 "snippets_enabled" : false ,
6061 "created_at" : " 2013-09-30T13:46:02Z" ,
6162 "last_activity_at" : " 2013-09-30T13:46:02Z" ,
63+ "shared_runners_enabled" : false ,
6264 "namespace" : {
6365 "created_at" : " 2013-09-30T13:46:02Z" ,
6466 "description" : " " ,
Original file line number Diff line number Diff line change 2323 "snippets_enabled" : false ,
2424 "created_at" : " 2013-09-30T13: 46: 02Z" ,
2525 "last_activity_at" : " 2013-09-30T13: 46: 02Z" ,
26+ "shared_runners_enabled" : true ,
2627 "namespace" : {
2728 "created_at" : " 2013-09-30T13: 46: 02Z" ,
2829 "description" : " " ,
You can’t perform that action at this time.
0 commit comments