Clarify ambiguous precedence for org-level and repo-level PR limits

未关闭
#46,516 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

@hugovk 已经在做这个了。

开始于 2026年10月28日。

  • #46517 来自 @hugovk —— 未关闭

评估

难度
1/5
预计耗时
1 小时以内
新手友好度
1/100
Issue 类型
文档
描述清晰度
描述清楚
活跃度
停滞
领域
documentation

调研方向

Read the linked article section, “Limiting concurrent open pull requests for users without write access,” and compare its wording with the reported behavior: a repository limit overrides the organization limit regardless of when either setting changed. Update the explanation to make that precedence clear; done when the article no longer implies that changing the organization limit later changes which limit applies. A linked pull request, #46517, is already open.

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

描述

content driver persona
Code of Conduct
What article on docs.github.com is affected?

https://docs.github.com/en/communities/moderating-comments-and-conversations/limiting-interactions-in-your-organization#limiting-concurrent-open-pull-requests-for-users-without-write-access says:

What part(s) of the article would you like to see updated?

The organization-level limit takes precedence, but if a repository owned by your organization has its own pull request limit configured after the organization-level limit, the repository-level limit overrides the organization-level limit.

This is ambiguous. It makes it sound like if you set an org limit to 3, and a repo limit to 10, the repo has a limit of 10. But that if you later change the org limit to 5, then the repo also now has a limit of 10.

After testing, this is not the case.

The repo limit overrides the org limit, regardless of when the setting was changed.

Additional information

No response

主要语言
TypeScript
星标
21.1k
派生
69.3k
平均合并
11 小时 17 分钟
30 天内合并 PR
83

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

从这里开始

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

github/docs 的其他 Issue

查看 github/docs 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

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