fix: github: as soon as any check fails, ignore any pending
All checks were successful
Rust / build (push) Successful in 1m11s
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
ci/woodpecker/cron/cron-docker-builder Pipeline was successful
ci/woodpecker/cron/push-next Pipeline was successful
ci/woodpecker/cron/tag-created Pipeline was successful
All checks were successful
Rust / build (push) Successful in 1m11s
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
ci/woodpecker/cron/cron-docker-builder Pipeline was successful
ci/woodpecker/cron/push-next Pipeline was successful
ci/woodpecker/cron/tag-created Pipeline was successful
This commit is contained in:
parent
46e2871e17
commit
7b280a2a0a
1 changed files with 1 additions and 1 deletions
|
@ -51,8 +51,8 @@ pub async fn status(github: &github::Github, commit: &git::Commit) -> git::forge
|
|||
.reduce(|l, r| match (l, r) {
|
||||
(Status::Pass, Status::Pass) => Status::Pass,
|
||||
(_, Status::Fail) => Status::Fail,
|
||||
(_, Status::Pending) => Status::Pending,
|
||||
(Status::Fail, _) => Status::Fail,
|
||||
(_, Status::Pending) => Status::Pending,
|
||||
(Status::Pending, _) => Status::Pending,
|
||||
})
|
||||
.unwrap_or_else(|| {
|
||||
|
|
Loading…
Reference in a new issue