Add a setting that allows draft PRs to account towards a users limit [GA]
- Ngôn ngữ chính
- Không có dữ liệu ngôn ngữ
- Star
- 8.9k
- Fork
- 1.8k
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
### Value Prop
Repository maintainers can now configure draft pull requests to count toward a user's pull request limit, closing a loophole that allowed contributors — or automated agents — to open unlimited draft pull requests. This gives teams stronger control over their contribution workflows, reducing unwanted noise from notifications, unnecessary CI runs, and a cluttered pull request list. Whether you're managing a large open source project or enforcing contribution policies in an enterprise environment, this setting helps your limits actually work as intended.
### Expected Outcome
Teams that rely on pull request limits to manage spam or enforce contribution policies will have a more effective tool that covers both open and draft pull requests. By making this behavior configurable, maintainers can tailor the setting to their repository's needs without impacting teams who prefer the existing behavior.
Hướng dẫn đóng góp
Hướng nghiên cứu
The issue describes a repository setting that changes whether draft pull requests count toward a user's pull request limit, but it names no implementation files, tests, or entry points. Start by locating the existing pull request limit behavior and its repository configuration, then define the setting, update the limit calculation, and verify both enabled and disabled behavior.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Lĩnh vực
- backend
- Loại issue
- Tính năng
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức độ hoạt động
- Ít trao đổi
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 35/100