From fd10b632740e441354c4547a12727c29dd288239 Mon Sep 17 00:00:00 2001 From: Jimmy Chen Date: Fri, 5 Sep 2025 07:54:30 +1000 Subject: [PATCH] Add co-author to mergify commits (#7993) * Add co-author to mergify commits. * Remove unnecessary pull request rules from mergify config. * Revert automation removals --- .github/mergify.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/mergify.yml b/.github/mergify.yml index 4ab73bcf07..0b917b2546 100644 --- a/.github/mergify.yml +++ b/.github/mergify.yml @@ -105,6 +105,10 @@ queue_rules: {{ body | get_section("## Proposed Changes", "") }} + + {% for commit in commits | unique(attribute='email_author') %} + Co-Authored-By: {{ commit.author }} <{{ commit.email_author }}> + {% endfor %} queue_conditions: - "#approved-reviews-by >= 1" - "check-success=license/cla"