Skip to content

Does PyGithub support auto-merge? #2503

@yz-chime

Description

@yz-chime

Our repos usually have auto merge enabled (doc). We are also trying a new merge queue mechanism in beta.
It seems the web UI button sends a POST request to https://github.com/<repo>/pull/<pr_number>/auto_merge_requests with parameter do: squash or do: group.
I didn't find PyGithub documentation mentioning these merge methods, nor auto_merge_requests string in the project. Are they supported right now?

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