Repos in the same org not able to run `gh stack submit`
まだ誰も着手していません。
評価
調査の方向性
まず repo-a で gh stack submit を再現し、repo-a と repo-b に対する gh api のレスポンスを比較します。gh-stack のエントリーポイントでリポジトリのスタック状態チェックを追跡し、その後、エンドポイントが 404 を返す理由を特定して、同じ組織に属するリポジトリで submission が正しく動作することを確認します。
索引モデルが issue の本文から書いたものです。
説明
Last Friday, I was testing stacked PRs for our org, and I was able to submit two stacked PRs in repo-a. This week, I am able to submit stacked PRs in repo-b and repo-c within the same org, but not in repo-a. I am getting the error:
$ gh stack submit
Checking stack state...
⚠ Stacked PRs are not enabled for this repository
? Would you still like to create regular PRs?
I tried the following API calls to diagnose:
gh api -i 'repos/MyOrg/repo-b/stacks?per_page=1' - returns 200
gh api -i 'repos/MyOrg/repo-a/stacks?per_page=1' - returns 404
gh: 2.97.0
gh-stack: 0.1.0
- 主要言語
- Go
- スター
- 1.5k
- フォーク
- 73
- 平均マージ
- 1日 8時間
- マージ済み PR(30日)
- 7
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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
github/gh-stack の issue をすべて見る
似ている issue
-
textual definition
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
geneontology/go-ontology#32653 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
-
needs design
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
Priority/High ready-for-agent Severity/Major Type/Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100