diff --git a/src/server/forge/forgejo/mod.rs b/src/server/forge/forgejo/mod.rs index b79840a..5347be5 100644 --- a/src/server/forge/forgejo/mod.rs +++ b/src/server/forge/forgejo/mod.rs @@ -133,6 +133,7 @@ pub async fn get_commit_status( CommitStatusState::Pending => Status::Pending, CommitStatusState::Failure => Status::Fail, CommitStatusState::Error => Status::Fail, + CommitStatusState::Blank => Status::Pending, }, None => { warn!("No status found for commit"); @@ -162,4 +163,6 @@ pub enum CommitStatusState { Failure, #[serde(rename = "error")] Error, + #[serde(rename = "")] + Blank, }