github / github/roadmap

New repository settings to disable or restrict pull requests [GA]

未关闭
#1,232 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Enterprise Free GA GHES 3.23 Team
主要语言
没有语言数据
星标
8.9k
派生
1.8k
PR 合并指标
30 天内没有已合并 PR

描述

### Value Prop

Repository maintainers get two new, first-party controls to manage contributions at the repo level: disable pull requests entirely or restrict PR creation to collaborators only. This lets teams share code publicly (or mirror it) without taking on the overhead and risk of unsolicited or low-quality PR submissions, and without needing custom bots or manual triage.

### Expected Outcome

Maintainers can reduce PR noise and moderation workload, while still keeping repositories accessible for viewing and forking with clear UX signals about contribution limits. Teams that want controlled contributions can allow PRs from trusted collaborators only, leading to higher-signal contribution flows, fewer unwanted PRs, and smoother maintenance—especially during pauses, release gaps, or in mirrored/readonly repos.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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