Skip to content

Commit

Permalink
minor chanhe
Browse files Browse the repository at this point in the history
  • Loading branch information
nid90 committed Nov 25, 2024
1 parent b461e59 commit 6221d22
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/libs/triggers/patch_pull_request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6221d22

Please sign in to comment.