This is an automated email from the ASF dual-hosted git repository.
shahar1 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new f863982c07c Restore the open pull request creation cap (#73758)
f863982c07c is described below
commit f863982c07cd18a871ece7e1623a6f385d45308f
Author: Jarek Potiuk <[email protected]>
AuthorDate: Sat Sep 26 16:06:38 2026 +0200
Restore the open pull request creation cap (#73758)
The cap was temporarily removed in #73754 because enabling
`creation_cap` failed while the asfyaml version supporting it was not
deployed (INFRA-28454). This turns the open pull request limit back into
a hard limit enforced by GitHub instead of a soft limit contributors are
only asked to respect.
This reverts commit 7e5c580cd6858b9f873fdcde65bed26182bcf379.
Generated-by: Claude Opus 5
---
.asf.yaml | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/.asf.yaml b/.asf.yaml
index 8409f342c73..497fc7f728d 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -78,9 +78,11 @@ github:
allow_update_branch: true
# auto-delete head branches after being merged
del_branch_on_merge: true
- # The open pull request cap
(contributing-docs/32_open_pull_request_limit.rst) is temporarily
- # removed: enabling `creation_cap` fails because the asfyaml version
supporting it is not
- # deployed yet. Restore it once
https://issues.apache.org/jira/browse/INFRA-28454 is fixed.
+ # cap how many PRs a user without write access may have open at once
+ # (committers and other users with write access are not affected)
+ creation_cap:
+ enabled: true
+ max_open_pull_requests: 5
# Legacy branch protection is being migrated to Rulesets below.
#