Skip to content

Commit

Permalink
git-pr: status cannot handle rfr label correctly
Browse files Browse the repository at this point in the history
Reviewed-by: rwestberg
  • Loading branch information
edvbld committed Feb 11, 2020
1 parent 8a48b2c commit 0cb32dd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cli/src/main/java/org/openjdk/skara/cli/GitPr.java
Original file line number Diff line number Diff line change
Expand Up @@ -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"));
Expand Down

0 comments on commit 0cb32dd

Please sign in to comment.