Path-based exclusions for push rules in Rulesets [Public Preview]

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

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

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
30/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
github
Lĩnh vực
security

Hướng nghiên cứu

Issue không nêu tên tệp repository, kiểm thử hoặc điểm vào của phần triển khai. Hãy làm rõ khu vực triển khai trước khi bắt đầu; hoàn thành nghĩa là có các loại trừ dựa trên đường dẫn cho push rulesets, kèm theo xác thực tại thời điểm thiết lập và thực thi có chọn lọc.

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

Mô tả

Enterprise Free GHES 3.23 Public Preview Shipped Team
Value Prop

Path-based exclusions in push rulesets let you apply file push rules only where they matter — protecting critical paths while skipping generated code, documentation, or vendored assets that don't need the same governance. You get precise, surgical control over enforcement without loosening protections elsewhere in your repository. Exclusions are validated at setup time, so misconfigurations are caught before they reach your developers.

Expected Outcome

Teams can enforce strong push rules across their repositories without creating unnecessary friction for paths that follow different conventions. By giving admins the flexibility to exclude specific directories, this feature reduces workarounds, support requests, and the pressure to choose between blanket enforcement and blanket exemption. The result is a more accurate and trustworthy governance layer that reflects how real codebases are structured.

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

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 github/roadmap

Tất cả issue của github/roadmap

Issue tương tự

Thêm issue về Security

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.