Skip to content

Commit bcd090e

Browse files
committed
Set build status to failure on push fail
1 parent 74bafda commit bcd090e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/bors/merge_queue.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,10 @@ pub async fn handle_merge_queue(ctx: Arc<BorsContext>) -> anyhow::Result<()> {
107107
)
108108
.await?;
109109

110+
ctx.db
111+
.update_build_status(auto_build, BuildStatus::Failure)
112+
.await?;
113+
110114
let comment = auto_build_push_failed_comment(&error.to_string());
111115
repo.client.post_comment(pr.number, comment).await?;
112116
}

0 commit comments

Comments
 (0)