PyGithub / PyGithub/PyGithub

Does PyGithub support auto-merge?

Open
#2,503 1 comment 8 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
7.8k
Forks
1.9k
Avg merge
17m
Merged PRs (30d)
2

Description

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?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked GitHub auto-merge and merge-queue documentation, then inspect PyGithub's existing pull-request API surface for related entry points. The issue names no repository files or tests; done would be establishing whether these methods are supported and, if not, defining the required support and documentation scope.

Written by the indexing model from the issue text.

Assessment

Tech stack
github, python
Domain
api
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.