diff --git a/assets/icons.woff2 b/assets/icons.woff2 index ab0cb94..3362aaa 100644 Binary files a/assets/icons.woff2 and b/assets/icons.woff2 differ diff --git a/assets/og.svg b/assets/og.svg index 0719bd8..b852641 100644 --- a/assets/og.svg +++ b/assets/og.svg @@ -51,17 +51,23 @@ /> - + + + + - + - + + + + - - + + diff --git a/assets/platforms/ps2.svg b/assets/platforms/ps2.svg index e1c86d1..869d4eb 100644 --- a/assets/platforms/ps2.svg +++ b/assets/platforms/ps2.svg @@ -1,3 +1,3 @@ - + diff --git a/crates/github/src/changes.rs b/crates/github/src/changes.rs index 9085bc1..dd41422 100644 --- a/crates/github/src/changes.rs +++ b/crates/github/src/changes.rs @@ -332,8 +332,10 @@ pub fn generate_comment( ChangeKind::BrokenMatch } else if to.fuzzy_match_percent > from.fuzzy_match_percent { ChangeKind::Improvement - } else { + } else if from.fuzzy_match_percent > 0.0 { ChangeKind::Regression + } else { + continue; // No change }; let from_bytes = ((from.fuzzy_match_percent as f64 / 100.0) * from.size as f64) as u64; let to_bytes = ((to.fuzzy_match_percent as f64 / 100.0) * to.size as f64) as u64; diff --git a/crates/github/src/webhook.rs b/crates/github/src/webhook.rs index 2924b43..99d5463 100644 --- a/crates/github/src/webhook.rs +++ b/crates/github/src/webhook.rs @@ -233,7 +233,7 @@ async fn handle_workflow_run_completed( duration.as_millis() ); } - } else if workflow_run.event == "pull_request" { + } else if let "pull_request" | "pull_request_target" = workflow_run.event.as_str() { if !project_info.project.enable_pr_comments { return Ok(()); }