diff --git a/src/main/java/io/quarkus/search/app/indexing/reporting/GithubStatusReporter.java b/src/main/java/io/quarkus/search/app/indexing/reporting/GithubStatusReporter.java index 994f5665..b22b2266 100644 --- a/src/main/java/io/quarkus/search/app/indexing/reporting/GithubStatusReporter.java +++ b/src/main/java/io/quarkus/search/app/indexing/reporting/GithubStatusReporter.java @@ -45,6 +45,9 @@ public void report(Status status, Map> fai GHRepository repository = github.getRepository(config.issue().repository()); GHIssue issue = repository.getIssue(config.issue().id()); + // Update last indexing date: + issue.setTitle(toStatusSummary(clock, status, issue.getTitle())); + // add comments if needed: if (!Status.SUCCESS.equals(status)) { StringBuilder newMessageBuilder = new StringBuilder(STATUS_REPORT_HEADER) @@ -81,9 +84,6 @@ public void report(Status status, Map> fai } } - // Update last indexing date: - issue.setTitle(toStatusSummary(clock, status, issue.getTitle())); - // handle issue state (open/close): switch (status) { case SUCCESS, WARNING -> {