Skip to content
Permalink
Browse files
git-pr: status cannot handle rfr label correctly
Reviewed-by: rwestberg
  • Loading branch information
edvbld committed Feb 11, 2020
1 parent 8a48b2c commit 0cb32dda1879f6df67b86550a86cf5cb7abba609
Showing with 4 additions and 4 deletions.
  1. +4 −4 cli/src/main/java/org/openjdk/skara/cli/GitPr.java
@@ -161,16 +161,16 @@ private static String statusForPullRequest(PullRequest pr) {
var labels = pr.labels();
if (pr.isDraft()) {
return "DRAFT";
} else if (labels.contains("rfr")) {
return "RFR";
} else if (labels.contains("integrated")) {
return "INTEGRATED";
} else if (labels.contains("ready")) {
return "READY";
} else if (labels.contains("rfr")) {
return "RFR";
} else if (labels.contains("outdated")) {
return "OUTDATED";
} else if (labels.contains("oca")) {
return "OCA";
} else if (labels.contains("integrated")) {
return "INTEGRATED";
} else {
var checks = pr.checks(pr.headHash());
var jcheck = Optional.ofNullable(checks.get("jcheck"));

0 comments on commit 0cb32dd

Please sign in to comment.