PyGithub / PyGithub/PyGithub

Does PyGithub support auto-merge?

未關閉
#2,503 1 則留言 8 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

主要語言
Python
星號
7.8k
分支
1.9k
平均合併
17 分鐘
30 天內合併 PR
2

描述

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?

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

先從連結的 GitHub auto-merge 和 merge queue 文件開始,接著檢查 PyGithub 現有的 pull request API,尋找相關的進入點。此 issue 未指定任何 repository 檔案或測試;完成條件是確認這些方法是否受到支援;如果不受支援,則定義所需的支援與文件範圍。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
github, python
領域
api
Issue 類型
功能
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
需要釐清
新手友好度
25/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。