This is an automated email from the ASF dual-hosted git repository.

pkarwasz pushed a commit to branch adm/auto_merge
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git

commit 6507b2ab610cf365cbf5265d33a366217384f362
Author: Piotr P. Karwasz <[email protected]>
AuthorDate: Thu May 15 12:05:35 2025 +0200

    Enable auto-merge and update settings on PRs
    
    This enables the following features for pull requests:
    
    - Enables the "Auto-merge" button: this allows for a PR to be merged as
      soon as the required checks and reviews pass.
    - Enables the "Update branch" button: this allows merging the **base**
      branch into the PR branch from the UI.
    - Enables automatic deletion of branches after a merge.
---
 .asf.yaml | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/.asf.yaml b/.asf.yaml
index 992c8cad12..afbcd89677 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -56,6 +56,16 @@ github:
     - api
     - syslog
 
+  # Pull Request settings:
+  # https://github.com/apache/infrastructure-asfyaml#pull-request-settings
+  pull_requests:
+    # allow auto-merge
+    allow_auto_merge: true
+    # enable updating head branches of pull requests
+    allow_update_branch: true
+    # auto-delete head branches after being merged
+    del_branch_on_merge: true
+
   # Enforce squashing while merging PRs.
   # Otherwise, the git log gets polluted severely.
   enabled_merge_buttons:

Reply via email to