This is an automated email from the ASF dual-hosted git repository.
fokko pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iceberg-python.git
The following commit(s) were added to refs/heads/main by this push:
new 32c97ae4 infra: use new `del_branch_on_merge` in .asf.yaml (#2788)
32c97ae4 is described below
commit 32c97ae4e8d7c5531e9ea2cf131f8a77831e3982
Author: Kevin Liu <[email protected]>
AuthorDate: Sun Nov 30 20:46:19 2025 -0800
infra: use new `del_branch_on_merge` in .asf.yaml (#2788)
<!--
Thanks for opening a pull request!
-->
<!-- In the case this PR will resolve an issue, please replace
${GITHUB_ISSUE_ID} below with the actual Github issue id. -->
<!-- Closes #${GITHUB_ISSUE_ID} -->
# Rationale for this change
Previous use of `del_branch_on_merge`
```
github:
del_branch_on_merge: true
```
is deprecated,
https://github.com/apache/infrastructure-asfyaml?tab=readme-ov-file#delete-branch-on-merge
New way is to
```
github:
pull_requests:
del_branch_on_merge: true
```
https://github.com/apache/infrastructure-asfyaml?tab=readme-ov-file#pull_requests
## Are these changes tested?
## Are there any user-facing changes?
<!-- In the case of user-facing changes, please add the changelog label.
-->
---
.asf.yaml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/.asf.yaml b/.asf.yaml
index f2e519ce..814d2694 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -42,7 +42,9 @@ github:
required_approving_review_count: 1
required_linear_history: true
- del_branch_on_merge: true
+ pull_requests:
+ # auto-delete head branches after being merged
+ del_branch_on_merge: true
features:
wiki: true
issues: true