From da17fc2f44c496828e9a6280b30b36162b06a4c5 Mon Sep 17 00:00:00 2001 From: Mark Rousskov Date: Wed, 11 Dec 2024 20:34:02 -0500 Subject: [PATCH] Fix sender login This is pulled from a sample event which had { login: "github-actions[bot]", id: 41898282 } --- src/handlers/bot_pull_requests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/handlers/bot_pull_requests.rs b/src/handlers/bot_pull_requests.rs index 02e4ec2e..5ad1614d 100644 --- a/src/handlers/bot_pull_requests.rs +++ b/src/handlers/bot_pull_requests.rs @@ -21,7 +21,7 @@ pub(crate) async fn handle(ctx: &Context, event: &Event) -> anyhow::Result<()> { // If it's not the github-actions bot, we don't expect this handler to be needed. Skip the // event. - if event.sender.login != "app/github-actions" { + if event.sender.login != "github-actions[bot]" { return Ok(()); }