You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by vy...@apache.org on 2025/09/01 08:33:16 UTC
(logging-log4j-samples) branch asfYaml created (now 9cd03bd)
This is an automated email from the ASF dual-hosted git repository.
vy pushed a change to branch asfYaml
in repository https://gitbox.apache.org/repos/asf/logging-log4j-samples.git
at 9cd03bd Align PR regulations in `.asf.yaml`
This branch includes the following new commits:
new 9cd03bd Align PR regulations in `.asf.yaml`
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(logging-log4j-samples) 01/01: Align PR regulations in `.asf.yaml`
Posted by vy...@apache.org.
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ı <vo...@yazi.ci>
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: commits@logging.apache.org
issues: notifications@logging.apache.org
@@ -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