You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@security.apache.org by pk...@apache.org on 2026/08/03 10:38:12 UTC

(security-site) 01/01: Delete head branches after a PR is merged

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

ppkarwasz pushed a commit to branch del-branch-on-merge
in repository https://gitbox.apache.org/repos/asf/security-site.git

commit 10fc3741bc8586f37d9af665084088ebc2a93356
Author: Piotr P. Karwasz <pi...@github.copernik.eu>
AuthorDate: Mon Aug 3 12:38:03 2026 +0200

    Delete head branches after a PR is merged
    
    Merged PR branches currently linger in the repository. Enable
    `github.pull_requests.del_branch_on_merge` so GitHub removes them
    automatically.
    
    Assisted-By: Claude Opus 5 (1M context) <no...@anthropic.com>
---
 .asf.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.asf.yaml b/.asf.yaml
index 33ef0fb3..d05670a7 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -21,6 +21,8 @@ github:
     - website
   features:
     issues: true
+  pull_requests:
+    del_branch_on_merge: true
   rulesets:
     - name: "Default Branch Protection"
       type: branch