Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Repos in the same org not able to run `gh stack submit`

未关闭
#397 1 条评论 4 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
52/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
冷清
技术栈
github, go
领域
api, cli

调研方向

首先在 repo-a 中复现 gh stack submit,并比较针对 repo-arepo-bgh api 响应。在 gh-stack 入口点跟踪仓库 stack 状态检查,然后确定 endpoint 返回 404 的原因,并验证对于同一组织中的仓库,提交行为是否正确。

由索引模型根据 Issue 内容生成。

描述

bug topic: merge queue

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

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

github/gh-stack 的其他 Issue

查看 github/gh-stack 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。