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

papegaaij pushed a commit to branch asf-yaml-delete-branch-on-merge
in repository https://gitbox.apache.org/repos/asf/wicket.git

commit 0c03cd2667174990e74dd582238053f216150ece
Author: Emond Papegaaij <[email protected]>
AuthorDate: Mon Nov 2 09:25:43 2026 +0100

    Delete the head branch when a pull request is merged
    
    Merged pull request branches stayed on the repository until someone
    removed them by hand. With pull_requests.del_branch_on_merge set, GitHub
    deletes the head branch after the merge. Branches covered by the branch
    protection ruleset (the default branch, release/* and rel/*) cannot be
    deleted and are kept.
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
---
 .asf.yaml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.asf.yaml b/.asf.yaml
index 0c694a8ec6..852fb421d4 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -42,6 +42,9 @@ github:
     projects: true
     discussions: true
 
+  pull_requests:
+    del_branch_on_merge: true
+
 notifications:
   commits: [email protected]
   pullrequests: [email protected]

Reply via email to