Enforce PR/comments rate-limits for new contributors

Ouverte
#5,473 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
Plus d'une semaine
Accessibilité débutants
12/100
Type d'issue
Fonctionnalité
Clarté
À clarifier
Activité
Active
Stack technique
github-actions, python
Domaine
devtools

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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:

Langage dominant
Python
Étoiles
2.7k
Forks
871
Merge moyen
1 j 10 h
PR mergées (30 j)
3

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de aboutcode-org/scancode-toolkit

Toutes les issues de aboutcode-org/scancode-toolkit

Issues similaires

Plus d'issues Python

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.