Enforce PR/comments rate-limits for new contributors

Đang mở
#5,473 0 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 2 ngày

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

Đánh giá

Độ khó
4/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
12/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-actions, python
Lĩnh vực
devtools

Hướng nghiên cứu

This is an org-wide policy discussion rather than a code change: the body lists candidate automations (PR limits for new contributors, auto-closing stale or failing PRs, comment rate limits, first-interaction reminders) and links GitHub's built-in PR-limit and interaction-limit features. Nothing in the payload names a file, test or entry point, so start by deciding which policies the maintainers want. Done means an agreed list of policies and a chosen mechanism, such as GitHub settings or a workflow, before any implementation.

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

Mô tả

maintainers-only

Here we need to both deccide on org-wide policies and implement them through automation.

Things we could potentially implement:

  • rate limiting PRs from new contributors (maybe 2/3 open PRs at a time, if they do not have any merged PRs already)
  • auto close non-draft PRs with failing tests (if there aren't test failures on main branch)
  • auto close PRs open for too long without updates after changes are requested
  • rate limiting comments for new contributors
  • remind new contributors of contributing guidelines/policy on their first interaction
  • remind contributors with comments in issues which are already assigned to a person/project already, or labeled as such

Github has some basic features which can be used, but are likely not enough:

Some repos which could be useful:

Ngôn ngữ chính
Python
Star
2.7k
Fork
871
Merge trung bình
1 ngày 10 giờ
Pull request đã merge (30 ngày)
3

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 aboutcode-org/scancode-toolkit

Tất cả issue của aboutcode-org/scancode-toolkit

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.