Repos in the same org not able to run `gh stack submit`
还没有人认领这个 Issue。
评估
调研方向
首先在 repo-a 中复现 gh stack submit,并比较针对 repo-a 和 repo-b 的 gh api 响应。在 gh-stack 入口点跟踪仓库 stack 状态检查,然后确定 endpoint 返回 404 的原因,并验证对于同一组织中的仓库,提交行为是否正确。
由索引模型根据 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 小时
- 30 天内合并 PR
- 7
贡献指南
从这里开始
- 先读完整个 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
-
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