mirror of
				https://gitea.com/gitea/tea.git
				synced 2025-10-30 16:55:25 +01:00 
			
		
		
		
	Show PR CI status (#306)
fix layout of pr reviews show PR CI status put conflict info in status list remove line show merged state deduplicate reviews by user Co-authored-by: Norwin Roosen <git@nroo.de> Reviewed-on: https://gitea.com/gitea/tea/pulls/306 Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com> Reviewed-by: 6543 <6543@obermui.de> Co-Authored-By: Norwin <noerw@noreply.gitea.io> Co-Committed-By: Norwin <noerw@noreply.gitea.io>
This commit is contained in:
		| @@ -60,6 +60,11 @@ func runPullDetail(cmd *cli.Context, index string) error { | ||||
| 		fmt.Printf("error while loading reviews: %v\n", err) | ||||
| 	} | ||||
|  | ||||
| 	print.PullDetails(pr, reviews) | ||||
| 	ci, _, err := client.GetCombinedStatus(ctx.Owner, ctx.Repo, pr.Head.Sha) | ||||
| 	if err != nil { | ||||
| 		fmt.Printf("error while loading CI: %v\n", err) | ||||
| 	} | ||||
|  | ||||
| 	print.PullDetails(pr, reviews, ci) | ||||
| 	return nil | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Norwin
					Norwin