We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5370418 + e4d8fec commit 1945d37Copy full SHA for 1945d37
src/handlers/review_changes_since.rs
@@ -6,8 +6,8 @@ use crate::{
6
handlers::Context,
7
};
8
9
-/// Checks if this event is a PR review creation and adds in the body a link our `gh-changes-since`
10
-/// endpoint to view changes since this review.
+/// Checks if this event is a PR review creation and adds in the body (if there is one)
+/// a link our `gh-changes-since` endpoint to view changes since this review.
11
pub(crate) async fn handle(
12
ctx: &Context,
13
host: &str,
@@ -29,6 +29,7 @@ pub(crate) async fn handle(
29
..
30
},
31
) = event
32
+ && !event.comment.body.is_empty()
33
{
34
// Add link our gh-changes-since endpoint to view changes since this review
35
0 commit comments