potiuk opened a new pull request, #73469:
URL: https://github.com/apache/airflow/pull/73469

   Turns on GitHub's pull request creation cap via `.asf.yaml`, limiting a user
   **without write access** to 5 open pull requests at a time. Committers and
   anyone else with write access are unaffected.
   
   ```yaml
   github:
     pull_requests:
       creation_cap:
         enabled: true
         max_open_pull_requests: 5
   ```
   
   Reviewer attention is the scarce resource here, and a single account opening 
a
   large batch of pull requests at once consumes it faster than the community 
can
   absorb. Five at a time leaves room for genuine parallel work while keeping 
bulk
   submissions in check.
   
   The `github.pull_requests.creation_cap` setting comes from the recently 
merged
   
[apache/infrastructure-asfyaml](https://github.com/apache/infrastructure-asfyaml/blob/main/asfyaml/feature/github/pr_creation_cap.py)
   feature, which drives GitHub's
   [pull request creation 
cap](https://docs.github.com/rest/interactions/repos#update-pull-request-creation-cap-for-a-repository)
   interaction limit. `max_open_pull_requests` accepts 1-1000.
   
   Two notes for reviewers:
   
   * asfyaml applies `github:` settings from the default branch only, so this 
takes
     effect once merged to `main`.
   * It is reversible: deleting the `creation_cap:` block later does not leave 
the
     cap in place — asfyaml notices the removal and explicitly disables it.
   
   No newsfragment: repository configuration, not a user-facing Airflow change.
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes (please specify the tool below)
   
   Generated-by: Claude Opus 5 following [the 
guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to