From ba4a8de1c5d44c76033ff5685075d1e964158931 Mon Sep 17 00:00:00 2001 From: "Piotr P. Karwasz" Date: Mon, 19 May 2025 19:01:48 +0200 Subject: [PATCH] Enable auto-merge and update branch buttons Similarly to apache/logging-log4j2#3662, this pull request enables the "Auto-merge" and "Update branch" buttons on PRs. --- .asf.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.asf.yaml b/.asf.yaml index a8e965dd..32f9b9c7 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -41,7 +41,15 @@ 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 # Enforce squashing while merging PRs. # Otherwise, the git log gets polluted severely.