Skip to content

Allow merge commits in GH pull requests #23547

@khwilliamson

Description

@khwilliamson

It is our policy from perlgit:

For larger sets of commits that only make sense together, or that would
benefit from a summary of the set's purpose, you should use a merge
commit.

Yet there is no way to conveniently do that. I have intended to do that myself, and there is that large green button staring me in the face which makes me forget all about my earlier plan. @bram-perl researched this and found this:

https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/configuring-commit-merging-for-pull-requests

I haven't checked if this would meet our needs, but something needs to be done. An alternative would be to disable the current button if the p.r. had more than X number of commits. I think X was 3 or 6 when the topic was talked about some years ago.

Metadata

Metadata

Assignees

No one assigned

    Labels

    InfrastructureThings needed to maintain Perl development

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions