`gh stack submit` does not respect org-wide PR template
還沒有人認領這個 Issue。
評估
研究方向
先追蹤 gh stack submit 進入點及其預設對話框和 --auto 路徑,並以 github/gh-stack pull request #77 作為整個 repository 模板的背景。使用組織範圍的 PR 模板重現這兩種模式,然後驗證產生的 pull request 包含該模板,且不會遺失現有的 footer。
由索引模型根據 Issue 內容生成。
描述
My organisation has an org-wide PR template, just as the one described here: https://github.com/orgs/community/discussions/183776. We used to have these templates in each repo, but they were all the same and repetitve, so we decided to define them in one place. We'd rather not go back to per-repo template.
Unfortunately, gh stack submit does not seem to respect them. User has two options with this command:
- By default it opens CLI dialog to enter PR's title and description. It doesn't use the org template
--autocreates PR with some pre-populated footer and nothing else. Again no template is used.
The command supports repo-wide templates, thanks to https://github.com/github/gh-stack/pull/77, but this PR does not seem to take org-wide templates into account.
- 主要語言
- Go
- 星號
- 1.6k
- 分支
- 78
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
github/gh-stack 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 85/100
-
難度 1/5 1 小時以內 新手友好度 92/100
-
feature request topic: cli - general
難度 2/5 1-3 小時 新手友好度 68/100
-
feature request topic: auto-merge
難度 2/5 1-3 小時 新手友好度 68/100
-
bug topic: docs
難度 1/5 1 小時以內 新手友好度 68/100
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 78/100
prime-radiant-inc/evener#3726 ·
維護者通常 1 天內回覆
-
enhancement
難度 2/5 1-3 小時 新手友好度 68/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 86/100
temporalio/deputy#400 ·
維護者通常 1 天內回覆
-
[BUG] Async engine endpoint-label relationship counts include pending relationships of every type未關閉
難度 2/5 1-3 小時 新手友好度 78/100
維護者通常 1 天內回覆
-
status/0-needs-triage
難度 2/5 1-3 小時 新手友好度 84/100
維護者通常 1 天內回覆