Add "review required" notice to PRs if applicable
This commit is contained in:
parent
6e894a0eab
commit
be55f81e16
2 changed files with 5 additions and 0 deletions
|
|
@ -275,6 +275,8 @@ func printPrs(prs ...api.PullRequest) {
|
|||
|
||||
if reviews.ChangesRequested {
|
||||
fmt.Printf(" - %s", utils.Red("changes requested"))
|
||||
} else if reviews.ReviewRequired {
|
||||
fmt.Printf(" - %s", utils.Yellow("review required"))
|
||||
} else if reviews.Approved {
|
||||
fmt.Printf(" - %s", utils.Green("approved"))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue