Skip to content

Commit 251b71a

Browse files
committedMar 26, 2025
2468: PR bot mistakenly stop warning about empty pr body
Reviewed-by: erikj
1 parent 6ccf259 commit 251b71a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎bots/pr/src/main/java/org/openjdk/skara/bots/pr/CheckRun.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,8 @@ private List<String> allowedTargetBranches() {
240240
private List<String> botSpecificChecks(boolean iscleanBackport) {
241241
var ret = new ArrayList<String>();
242242

243-
if (bodyWithoutStatus().isBlank() && !iscleanBackport) {
243+
var bodyWithoutStatus = bodyWithoutStatus();
244+
if ((bodyWithoutStatus.isBlank() || bodyWithoutStatus.equals(EMPTY_PR_BODY_MARKER)) && !iscleanBackport) {
244245
ret.add(MSG_EMPTY_BODY);
245246
}
246247

1 commit comments

Comments
 (1)

openjdk-notifier[bot] commented on Mar 26, 2025

@openjdk-notifier[bot]
Please sign in to comment.