huskies: merge 964

This commit is contained in:
dave
2026-05-13 14:56:08 +00:00
parent c811672e18
commit dcb43c465a
24 changed files with 234 additions and 188 deletions
+3 -3
View File
@@ -26,19 +26,19 @@ pub fn format_gateway_event(project_name: &str, event: &StoredEvent) -> (String,
} => {
let from_typed = Stage::from_dir(from_stage).unwrap_or(Stage::Upcoming);
let to_typed = Stage::from_dir(to_stage).unwrap_or(Stage::Upcoming);
let (plain, html) = format_stage_notification(story_id, None, &from_typed, &to_typed);
let (plain, html) = format_stage_notification(story_id, "", &from_typed, &to_typed);
(format!("{prefix}{plain}"), format!("{prefix}{html}"))
}
StoredEvent::MergeFailure {
story_id, reason, ..
} => {
let (plain, html) = format_error_notification(story_id, None, reason);
let (plain, html) = format_error_notification(story_id, "", reason);
(format!("{prefix}{plain}"), format!("{prefix}{html}"))
}
StoredEvent::StoryBlocked {
story_id, reason, ..
} => {
let (plain, html) = format_blocked_notification(story_id, None, reason);
let (plain, html) = format_blocked_notification(story_id, "", reason);
(format!("{prefix}{plain}"), format!("{prefix}{html}"))
}
}