`gh stack submit` does not respect org-wide PR template
まだ誰も着手していません。
評価
調査の方向性
まず gh stack submit のエントリーポイントと、デフォルトダイアログおよび --auto の各パスを追跡します。その際、リポジトリ全体のテンプレートについては github/gh-stack pull request #77 をコンテキストとして使用します。組織全体の PR テンプレートを使って両方のモードを再現し、その後、結果の pull request にそのテンプレートが含まれ、既存のフッターが失われていないことを確認します。
索引モデルが 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.5k
- フォーク
- 73
- 平均マージ
- 1日 8時間
- マージ済み PR(30日)
- 7
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
github/gh-stack のほかの issue
-
難易度 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
-
feature request topic: cli - view
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
github/gh-stack の issue をすべて見る
似ている issue
-
kind/bug needs-triage
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
matrixorigin/matrixone#29223 ·
-
needs-acceptance wg/data-plane-networking
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
vllm-project/semantic-router#4024 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
alexgorbatchev/dotfiles#107 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 84/100