Skip to content

Commit

Permalink
Update bots/pr/src/main/java/org/openjdk/skara/bots/pr/BackportComman…
Browse files Browse the repository at this point in the history
…d.java

Co-authored-by: Erik Joelsson <37597443+erikj79@users.noreply.github.com>
  • Loading branch information
zhaosongzs and erikj79 authored Jul 3, 2024
1 parent ca3b3c0 commit 3788e4c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,8 @@ private HostedRepository getTargetRepo(PullRequestBot bot, String repoName, Prin
if (potentialTargetRepo.isEmpty()) {
var branchNamesInCurrentRepo = bot.repo().branches().stream().map(HostedBranch::name).toList();
if (branchNamesInCurrentRepo.contains(repoName)) {
reply.println("There is a branch `" + repoName + "` in current repository `" + bot.repo().name() + "`.");
reply.println("To target a backport to this branch in current repository:");
reply.println("There is a branch `" + repoName + "` in the current repository `" + bot.repo().name() + "`.");
reply.println("To target a backport to this branch in the current repository use:");
reply.println("`/backport :" + repoName + "`");
reply.println();
}
Expand Down

0 comments on commit 3788e4c

Please sign in to comment.