Skip to content

Control merge method through PR comment #567

@kbakk

Description

@kbakk

Hi! Thanks for sharing and maintaining this project! 🙌

Sometimes we want to use different merge methods, based on the commits to a branch. It would be nice if we could control it per branch - e.g. by commenting on a PR with "bulldozer squash", which would have bulldozer do a squash merge.

merge:
  merge_method:
    - method: squash
      trigger:
        pr_comment: "bulldozer squash"
    - method: rebase
      trigger:
        pr_comment: "bulldozer rebase"

Would this behavior be desired? It could of course be completely disabled by not configuring it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions