Currently, there is no automated way to enforce the limit on the number of open pull requests from new contributors.
It would be helpful to add a GitHub Action that automatically checks how many open PRs a contributor has. If a new contributor opens more than two pull requests at the same time, any additional PR should be automatically closed with a friendly comment explaining the project's contribution policy.
This would:
-Automatically enforce the contribution guidelines.
-Reduce manual work for maintainers.
-Encourage contributors to wait for their existing PRs to be reviewed and merged before opening new ones.
-Keep the review queue more manageable.
Expected behavior
- New contributors can have a maximum of 2 open pull requests.
- If a third (or subsequent) PR is opened while the previous two are still open, the GitHub Action should:
- Automatically close the new PR.
-Post a comment explaining why it was closed and ask the contributor to reopen or submit it after one of their existing PRs has been merged.
Currently, there is no automated way to enforce the limit on the number of open pull requests from new contributors.
It would be helpful to add a GitHub Action that automatically checks how many open PRs a contributor has. If a new contributor opens more than two pull requests at the same time, any additional PR should be automatically closed with a friendly comment explaining the project's contribution policy.
This would:
-Automatically enforce the contribution guidelines.
-Reduce manual work for maintainers.
-Encourage contributors to wait for their existing PRs to be reviewed and merged before opening new ones.
-Keep the review queue more manageable.
Expected behavior
- Automatically close the new PR.
-Post a comment explaining why it was closed and ask the contributor to reopen or submit it after one of their existing PRs has been merged.