mirror of
https://github.com/floci-io/floci.git
synced 2026-11-28 08:09:43 -05:00
ci: limit contributors to 2 open pull requests (#4864)
Call the shared floci-io/.github pr-limit workflow on opened, reopened and ready_for_review, and on closed and converted_to_draft to clear stale labels. Runs for the same pull request queue rather than cancel, and manual runs use their own concurrency group. Contributors keep at most 2 open, non-draft pull requests: the 3rd and 4th get the over-pr-limit label and a reminder, and from 2026-10-08 the 5th and later are closed automatically. Bots and maintainers are exempt. This replaces the advisory bot that labelled authors with more than 5 open pull requests: the limit is now 2, drafts no longer count, and the logic and wording live in one shared workflow. CONTRIBUTING.md and the pull request template describe the policy. Signed-off-by: Hector Ventura <hectorvent@gmail.com>
This commit is contained in:
1 parent
95315b8b18
commit
8d056e9456
4 files changed
+40
-96
No files matched your search
@@ -19,6 +19,7 @@
|
||||
- [ ] `./mvnw test` passes locally
|
||||
- [ ] New or updated integration test added
|
||||
- [ ] Commit messages follow [Conventional Commits](https://www.conventionalcommits.org/)
|
||||
- [ ] I have no more than 2 open, non-draft pull requests in this repository (maintainers and dependency bots are exempt).
|
||||
|
||||
<!-- First PR here? Your CI checks wait for a maintainer to approve them before they run — that's GitHub's gate on first-time contributors, not a problem with your PR. -->
|
||||
<!-- Questions, or want feedback on an approach before going further? Join us on Slack: https://join.slack.com/t/floci/shared_invite/zt-3tjn02s3q-A00kEjJ1cZxsg_imTfy6Cw -->
|
||||
|
||||
Reference in new issue
Block a user