Skip to content

Commit 32c97ae

Browse files
authored
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. -->
1 parent 33438bd commit 32c97ae

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.asf.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@ github:
4242
required_approving_review_count: 1
4343

4444
required_linear_history: true
45-
del_branch_on_merge: true
45+
pull_requests:
46+
# auto-delete head branches after being merged
47+
del_branch_on_merge: true
4648
features:
4749
wiki: true
4850
issues: true

0 commit comments

Comments
 (0)