diff options
author | iximeow <git@iximeow.net> | 2022-12-26 00:23:22 +0000 |
---|---|---|
committer | iximeow <git@iximeow.net> | 2022-12-26 00:23:22 +0000 |
commit | 99f81b94fdc7289dcdb34a98e57b9550b3bd170b (patch) | |
tree | 112bfe6313b59fa47176124bcd2b35c0fba3b410 /src | |
parent | 3418f6e71af2032fc48a082be51643b06f79aefe (diff) |
dont error if github tells us about commit status changes
Diffstat (limited to 'src')
-rw-r--r-- | src/main.rs | 4 |
1 files changed, 4 insertions, 0 deletions
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<DbCtx>, 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() |