Skip to content

Only include authors when preventing approvals by committers

What does this MR do and why?

This changes back the behavior of CommitCollection#committers to its previous behavior of not including authors by default.

This adds support for include_author_when_signed argument which is set to false by default.

The argument is set to true only when preventing approvals by users who add commits.

No changelog trailer since the behavior to include author as committers is behind web_ui_commit_author_change FF.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #457618

Merge request reports