Repository navigation
Conversation
… pull request creation cap GitHub's native pull request creation cap can now be configured in .asf.yaml (apache/infrastructure-asfyaml#111), so configure it there with the same limit and remove the workflow and its helper script. Draft pull requests are included to match the workflow's behaviour. Update the contributor docs: GitHub refuses to open a pull request over the limit instead of closing it afterwards with a comment, and the cap only exempts users with write access.
rok
requested review from
assignUser,
jonkeane,
kou and
raulcd
as code owners
October 23, 2026 17:30
|
|
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
The supported configuration, workflow removal, and documentation consistently implement the intended policy change, with no unresolved findings.
No open issues 🎉
What changed in this PR
Replaces Arrow’s PR-limit workflow with GitHub’s native creation cap configured through .asf.yaml, as proposed in #55163.
Changes:
- Caps contributors without write access at three open pull requests, including drafts.
- Removes the workflow, enforcement script, and automatic closure message.
- Updates contributor documentation to explain creation-time blocking and the removal of the triage-access exemption.
| File | Description |
|---|---|
docs/source/developers/bug_reports.rst |
Documents the native cap and updated access exemption. |
.github/workflows/pr_limit/comment.md |
Removes the obsolete closure message. |
.github/workflows/pr_limit/check.js |
Removes custom PR-limit enforcement. |
.github/workflows/pr_limit.yml |
Removes the replaced GitHub Actions workflow. |
.asf.yaml |
Enables the three-PR creation cap, including drafts. |
Review effort: Balanced
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rationale for this change
NOTE: do not merge before apache/infrastructure-asfyaml#135 is merged.
See #55163 and #51200.
What changes are included in this PR?
Removes
.github/workflows/pr_limit.ymlworflow and uses a.asf.yamlsetting instead.Are these changes tested?
Hopefully by CI.
Are there any user-facing changes?
Only CI users.
Was AI used for this PR?
In accordance to the AI generation guidelines, please disclose below whether and how AI was used in this PR.
PR code and description written by:
Reviewed before submission by: