diff --git a/ofborg/src/message/buildresult.rs b/ofborg/src/message/buildresult.rs index 328c8592..7f0ec4cf 100644 --- a/ofborg/src/message/buildresult.rs +++ b/ofborg/src/message/buildresult.rs @@ -30,10 +30,10 @@ impl From for Conclusion { match status { BuildStatus::Skipped => Conclusion::Skipped, BuildStatus::Success => Conclusion::Success, - BuildStatus::Failure => Conclusion::Neutral, + BuildStatus::Failure => Conclusion::Failure, BuildStatus::HashMismatch => Conclusion::Failure, BuildStatus::TimedOut => Conclusion::Neutral, - BuildStatus::UnexpectedError { .. } => Conclusion::Neutral, + BuildStatus::UnexpectedError { .. } => Conclusion::Failure, } } } diff --git a/ofborg/src/tasks/githubcommentposter.rs b/ofborg/src/tasks/githubcommentposter.rs index 2da15ae2..4466f9f7 100644 --- a/ofborg/src/tasks/githubcommentposter.rs +++ b/ofborg/src/tasks/githubcommentposter.rs @@ -384,7 +384,7 @@ patching script interpreter paths in /nix/store/pcja75y9isdvgz5i00pkrpif9rxzxc29 started_at: None, completed_at: Some("2023-04-20T13:37:42Z".to_string()), status: Some(CheckRunState::Completed), - conclusion: Some(Conclusion::Neutral), + conclusion: Some(Conclusion::Failure), details_url: Some( "https://logs.ofborg.org/?key=nixos/nixpkgs.2345&attempt_id=neatattemptid" .to_string() @@ -621,7 +621,7 @@ patching script interpreter paths in /nix/store/pcja75y9isdvgz5i00pkrpif9rxzxc29 started_at: None, completed_at: Some("2023-04-20T13:37:42Z".to_string()), status: Some(CheckRunState::Completed), - conclusion: Some(Conclusion::Neutral), + conclusion: Some(Conclusion::Failure), details_url: Some( "https://logs.ofborg.org/?key=nixos/nixpkgs.2345&attempt_id=neatattemptid" .to_string()