From 6221d22bea8906f2445003ff75fe2e7e2b0198d4 Mon Sep 17 00:00:00 2001 From: Nivedita Priyadarshini Date: Mon, 25 Nov 2024 18:47:36 +0530 Subject: [PATCH] minor chanhe --- app/libs/triggers/patch_pull_request.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/libs/triggers/patch_pull_request.rb b/app/libs/triggers/patch_pull_request.rb index 2a897023f..bb510c5ed 100644 --- a/app/libs/triggers/patch_pull_request.rb +++ b/app/libs/triggers/patch_pull_request.rb @@ -37,10 +37,9 @@ def pr_title end def pr_description - authored_by = commit.author_login.present? ? "@#{commit.author_login}" : commit.author_email <<~TEXT - Cherry-pick #{commit.commit_hash} commit - - Authored by: #{authored_by} + - Authored by: @#{commit.author_login || commit.author_name} #{commit.message} TEXT