< prev index next >

bots/notify/src/main/java/org/openjdk/skara/bots/notify/JNotifyBotFactory.java

Print this page
@@ -109,10 +109,14 @@
                      var allowedDomains = author == null ? Pattern.compile(mailinglist.get("domains").asString()) : null;
                      updaters.add(new MailingListUpdater(listServer.getList(recipient), recipientAddress, sender, author,
                                                          includeBranchNames, mode, headers, allowedDomains));
                  }
              }
+             if (repo.value().contains("issues")) {
+                 var issueProject = configuration.issueProject(repo.value().get("issues").asString());
+                 updaters.add(new IssueUpdater(issueProject));
+             }
  
              if (updaters.isEmpty()) {
                  log.warning("No consumers configured for notify bot repository: " + repoName);
                  continue;
              }
< prev index next >