From 99f81b94fdc7289dcdb34a98e57b9550b3bd170b Mon Sep 17 00:00:00 2001 From: iximeow Date: Mon, 26 Dec 2022 00:23:22 +0000 Subject: dont error if github tells us about commit status changes --- src/main.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main.rs b/src/main.rs index 56ad88b..d8af992 100644 --- a/src/main.rs +++ b/src/main.rs @@ -151,6 +151,10 @@ async fn handle_github_event(ctx: Arc, owner: String, repo: String, event let res = process_push_event(ctx, owner, repo, push_event).await; "ok".into_response() }, + "status" => { + eprintln!("[.] status update"); + "ok".into_response() + } other => { eprintln!("unhandled event kind: {}, repo {}/{}. content: {:?}", other, owner, repo, body); "".into_response() -- cgit v1.1