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

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


The following commit(s) were added to refs/heads/2.x by this push:
     new 7e020a409e Enable auto-merge and update settings on PRs (#3662)
7e020a409e is described below

commit 7e020a409e4535d29859c881f3d93076a4629ed9
Author: Piotr P. Karwasz <[email protected]>
AuthorDate: Mon May 19 09:36:02 2025 +0200

    Enable auto-merge and update settings on PRs (#3662)
    
    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