Skip to content

Commit

Permalink
Fix comment processor getting triggered by empty comments
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickbkr committed Oct 30, 2023
1 parent d7910cb commit 8f083db
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/GitHubCITestRequester.rakumod
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit 8f083db

Please sign in to comment.