This is an automated email from the ASF dual-hosted git repository.
vy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/logging-log4j-samples.git
The following commit(s) were added to refs/heads/main by this push:
new 7427b24 Align PR regulations in `.asf.yaml` (#366)
7427b24 is described below
commit 7427b242b99f7aa276d98772095cf2e6ae536542
Author: Volkan Yazıcı <[email protected]>
AuthorDate: Tue Sep 2 09:39:34 2025 +0200
Align PR regulations in `.asf.yaml` (#366)
---
.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