diff --git a/src/webhook.rs b/src/webhook.rs index 2173ef9..f4a348a 100644 --- a/src/webhook.rs +++ b/src/webhook.rs @@ -23,7 +23,7 @@ pub fn format_webhook(wh: &WebHook) -> Option { // Ignore: Action not on 'main' branch return None; } - // Unlikely to be reached as 'main' is probably never going to be deleted + // Unlikely to be reached as 'main' is probably never going to be deleted if push.commits.len() == 0 { // Ignore: Branch got deleted return None;