Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Verify that PATCH required_pull_request_reviews enables reviews on a protected branch without them

Đang mở
#546 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
github, python
Lĩnh vực
devops

Hướng nghiên cứu

Start with the branch-protection planner and recorded-response tests for feature 043; the issue does not name their file paths. Verify the PATCH behavior against a disposable GitHub repository, checking whether reviews become enabled when none were configured. If not, plan the change as part of the translated full PUT while preserving other fields; done means the behavior is confirmed and the plan and tests reflect it.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

module-core testing

The 043 branch's branch-protection planner tightens review requirements on an already-protected branch with PATCH /repos/{o}/{r}/branches/{b}/protection/required_pull_request_reviews. It never re-sends the whole protection object, which would risk dropping unrelated settings.

The GitHub docs don't say whether that PATCH enables PR reviews on a protected branch that has none configured, or only modifies existing review settings. The recorded-response tests assume it enables them.

If GitHub rejects it, the read-back reports an error and nothing is weakened, but AC-03.01 / QA-07.01 are not fixed.

Verify against a disposable repository. If the PATCH does not enable reviews, plan the change as part of the translated full PUT, which already preserves every other field.

Found while implementing feature 043 (remediation safety, branch 043-remediation-safety, not yet merged).

Ngôn ngữ chính
Python
Star
22
Fork
27
Merge trung bình
1 ngày 20 giờ
Pull request đã merge (30 ngày)
39

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của darnitdevorg/darnit

Tất cả issue của darnitdevorg/darnit

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.