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

vy pushed a commit to branch asfYaml
in repository https://gitbox.apache.org/repos/asf/logging-log4j-samples.git

commit 9cd03bd3b694d64798a8384faf926ebe57b1bef2
Author: Volkan Yazıcı <[email protected]>
AuthorDate: Mon Sep 1 10:32:57 2025 +0200

    Align PR regulations in `.asf.yaml`
---
 .asf.yaml | 23 +++++++++++++++++++----
 1 file changed, 19 insertions(+), 4 deletions(-)

diff --git a/.asf.yaml b/.asf.yaml
index d9c7f59..6aa2216 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -16,7 +16,7 @@
 #
 
 # `.asf.yaml` is a branch-specific YAML configuration file for Git 
repositories to control features such as notifications, GitHub settings, etc.
-# See its documentation for details: 
https://cwiki.apache.org/confluence/display/INFRA/Git+-+.asf.yaml+features
+# See its documentation for details: 
https://github.com/apache/infrastructure-asfyaml
 
 # Bare minimum `notifications` to
 #
@@ -24,7 +24,7 @@
 # 2. Forward commits to `commits@`
 # 3. Forward `dependabot` PRs to `robots@`
 #
-# Note that `notifications` are merged with the defaults accessible from: 
https://gitbox.apache.org/schemes.cgi?logging-log4j-samples
+# Note that `notifications` are merged with the defaults accessible from: 
https://gitbox.apache.org/schemes.cgi?logging-log4j2
 notifications:
   commits: [email protected]
   issues: [email protected]
@@ -42,9 +42,24 @@ github:
     - log4j2
     - logging
 
-  del_branch_on_merge: true
+  # 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
 
-  # Prevent force pushes to primary branches
+  # Enforce squashing while merging PRs.
+  # Otherwise, the git log gets polluted severely.
+  enabled_merge_buttons:
+    squash:  true
+    merge:   false
+    rebase:  false
+
+  # Enforce Review-then-Commit
   protected_branches:
     main:
       # All commits must be signed

Reply via email to