Skip to content
Permalink
Browse files
pr: configure fork names explicitly
Reviewed-by: rwestberg
  • Loading branch information
edvbld committed Feb 15, 2021
1 parent 56221f3 commit 3cf5bd0b71913f696c81a406fbeb2599df01844c
Showing with 3 additions and 3 deletions.
  1. +3 −3 bots/pr/src/main/java/org/openjdk/skara/bots/pr/PullRequestBotFactory.java
@@ -58,9 +58,9 @@ public List<Bot> create(BotConfiguration configuration) {

var forks = new HashMap<String, HostedRepository>();
if (specific.contains("forks")) {
for (var fork : specific.get("forks").asArray()) {
var repo = configuration.repository(fork.asString());
forks.put(repo.name(), repo);
for (var fork : specific.get("forks").fields()) {
var repo = configuration.repository(fork.value().asString());
forks.put(fork.name(), repo);
}
}

1 comment on commit 3cf5bd0

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on 3cf5bd0 Feb 15, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.