From acd63353f0087c62d47641c3c1aeb3912acd3413 Mon Sep 17 00:00:00 2001 From: "joe-gemini-bot[bot]" <260097884+joe-gemini-bot[bot]@users.noreply.github.com> Date: Fri, 22 May 2026 22:48:02 +0000 Subject: [PATCH] [LOGIC] Fix co_author_msg to append Co-authored-by trailer --- api/index.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/api/index.py b/api/index.py index 880c2050..0bd3d575 100644 --- a/api/index.py +++ b/api/index.py @@ -15,6 +15,10 @@ EXCLUDED_REPOS = ['Square-farms', 'Jo-ayanda-real-estate', 'Backend-images-app', 'ecom-stor'] def co_author_msg(msg): + name = os.environ.get('CO_AUTHOR_NAME') + email = os.environ.get('CO_AUTHOR_EMAIL') + if name and email: + return f"{msg}\n\nCo-authored-by: {name} <{email}>" return msg # Config