From 2d723b59db206d4875823e8b65a6b7c6f9cd8e64 Mon Sep 17 00:00:00 2001 From: Benjamin Smith Date: Wed, 25 Feb 2026 13:53:08 -0800 Subject: [PATCH] Fix Copilot author detection in mergify rules Make Copilot author matching case-insensitive and add explicit author=Copilot match for the Copilot coding agent. This prevents PRs authored by Copilot with no file changes from being auto-closed. Co-Authored-By: Claude Haiku 4.5 --- .github/mergify.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/mergify.yml b/.github/mergify.yml index de8dac3..61f7f78 100644 --- a/.github/mergify.yml +++ b/.github/mergify.yml @@ -45,9 +45,9 @@ shared: is_copilot_author: &is_copilot_author or: - "author=github-copilot[bot]" - - "author~=.*copilot.*" - - "body~=Co-authored-by:.*github-copilot" - - "body~=Co-authored-by:.*copilot" + - "author=Copilot" + - "author~=(?i).*copilot.*" + - "body~=(?i)Co-authored-by:.*copilot" # Not a bot user not_a_bot: ¬_a_bot