Authored-by should use email address from commits

Issue information

From user: cmlara

Contribution record

Fork management

Problem/Motivation

Review https://new.drupal.org/contribution-record/11413644 and the associated MR drupal!12403 (closed)

Observe that the contribution record suggests:

[#3530461] feat: Remove FileSystemInterface::basename() and use PHP native basename()

Authored-by: 54534-cmlara@users.noreply.drupalcode.org
Authored-by: 22609-kimpepper@users.noreply.drupalcode.org

Observe that the author address is:
From: Conrad Lara <cmlara@cmlara.com>

The commit author address is a conscious choice by developers that should be respected by default.

Steps to reproduce

Create an issue with an MR. Submit commits to the MR with an Author email address that does not utilize the no-reply address. Credit the user who wrote the commits, observe that the message suggests the no-reply address.

Proposed resolution

Use email address as included in the most recent commit, from any MR if there are multiple

Remaining tasks

User interface changes

Commit messages will now suggest the address as submitted by the commit author.

API changes

None expected.

Data model changes

None expected.

Related issue: Issue #3439331

Related issue: Issue #3543076

Edited by drupalbot