Skip to content

Commit-queue should automatically handle PRs with merge commits from the target branch #967

@pimterry

Description

@pimterry

Some contributors merge into their PR branch from main rather than rebasing. We might not recommend this, but it shouldn't be a major issue. Unfortunately it seems that the commit-queue label can't handle this, and fails with:

error: commit ... is a merge but no -m option was given.
fatal: cherry-pick failed

Here's a example I just ran into: nodejs/node#59375 (comment). More examples here.

AFAICT this then always requires manually landing the PR, but it feels like we should be able to handle these automatically without much trouble.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions