Skip to content

Limit merge methods to merge button settings #1190

@dirn

Description

@dirn

Describe the feature or problem you’d like to solve

The settings for a project allow the merge methods associated with the Merge button to be limited to a subset of the three options

  • Allow merge commits
  • Allow squash merging
  • Allow rebase merging

When merging through gh pr merge, you are presented with a list of all three options regardless.

Proposed solution

It would be nice if the options were limited to only the ones supported by the project. To take it one step further, if only one of the options is supported, the question should be skipped entirely.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issuehelp wantedContributions welcomepriority-3Affects a small number of users or is largely cosmetic

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions