From 622a624a29060209a4b9bd974acc3bf0e4243b17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Volkan=20Yaz=C4=B1c=C4=B1?= Date: Mon, 22 Apr 2024 21:39:19 +0200 Subject: [PATCH] Improve email notifications --- .asf.yaml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/.asf.yaml b/.asf.yaml index 0f27a12..e78cfe8 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -15,7 +15,21 @@ # limitations under the License. # -# `.asf.yaml` documentation: https://cwiki.apache.org/confluence/display/INFRA/Git+-+.asf.yaml+features +# `.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 + +# Bare minimum `notifications` to +# +# 1. Forward GitHub _activity_ to `notifications@` +# 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-tools +notifications: + commits: commits@logging.apache.org + issues: notifications@logging.apache.org + pullrequests: notifications@logging.apache.org + pullrequests_bot_dependabot: robots@logging.apache.org github: @@ -31,6 +45,8 @@ github: features: issues: true + del_branch_on_merge: true + # Prevent force pushes to primary branches protected_branches: main: