Skip to content

Commit da17fc2

Browse files
Fix sender login
This is pulled from a sample event which had { login: "github-actions[bot]", id: 41898282 }
1 parent bfeafd5 commit da17fc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/handlers/bot_pull_requests.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ pub(crate) async fn handle(ctx: &Context, event: &Event) -> anyhow::Result<()> {
2121

2222
// If it's not the github-actions bot, we don't expect this handler to be needed. Skip the
2323
// event.
24-
if event.sender.login != "app/github-actions" {
24+
if event.sender.login != "github-actions[bot]" {
2525
return Ok(());
2626
}
2727

0 commit comments

Comments
 (0)