From d5649f42835bad5e9438a584dddda0a570f6e75f Mon Sep 17 00:00:00 2001 From: Urgau Date: Mon, 18 Nov 2024 23:00:45 +0100 Subject: [PATCH] Lock major change issue --- src/handlers/major_change.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/handlers/major_change.rs b/src/handlers/major_change.rs index 0678ea42..834bda4c 100644 --- a/src/handlers/major_change.rs +++ b/src/handlers/major_change.rs @@ -294,6 +294,10 @@ async fn handle( .post_comment(&ctx.github, &comment) .await .context("post major change comment")?; + issue + .lock(&ctx.github, None) + .await + .context("lock major change issue")?; } let zulip_req = zulip_req.send(&ctx.github.raw());