Skip to content

Exclude merge commit from multi-line commit selection in Danger

What does this MR do?

When a MR is set to be squashed, we shouldn't pick a merge commit to be used as the squash commit.

With this change, a merge commit will only trigger a warning, not a failure.

This should improve cases like !21453 (comment 283792959).

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Edited by Rémy Coutable

Merge request reports

Loading