diff --git a/site/src/github.rs b/site/src/github.rs index d5a6873cf..e23c5bc92 100644 --- a/site/src/github.rs +++ b/site/src/github.rs @@ -243,8 +243,12 @@ pub async fn enqueue_shas( )); } } - msg.push_str(&format!("\n{COMMENT_MARK_TEMPORARY}")); - main_client.post_comment(pr_number, msg).await; + + if !msg.is_empty() { + msg.push_str(&format!("\n{COMMENT_MARK_TEMPORARY}")); + main_client.post_comment(pr_number, msg).await; + } + Ok(()) }