From 8f083db66d5df0884793c05d1f56e2778d0f35d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20B=C3=B6ker?= Date: Mon, 30 Oct 2023 22:16:12 +0100 Subject: [PATCH] Fix comment processor getting triggered by empty comments --- lib/GitHubCITestRequester.rakumod | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/GitHubCITestRequester.rakumod b/lib/GitHubCITestRequester.rakumod index aa29579..f228d4b 100644 --- a/lib/GitHubCITestRequester.rakumod +++ b/lib/GitHubCITestRequester.rakumod @@ -128,6 +128,7 @@ method !process-pr-commit-task(PRCommitTask $commit) { } method !process-pr-comment-task(PRCommentTask $comment) { + return without $comment.body; my Bool $need-to-process = False; for $comment.body ~~ m:g:i/ '{' \s* 'rcb:' \s* ( <[ \w - ]>+ ) \s* '}' / -> $m { my $command-text = $m[0];