Skip to content

Commit 617be09

Browse files
authored
infra: use new del_branch_on_merge in .asf.yaml (#1888)
## Which issue does this PR close? <!-- We generally require a GitHub issue to be filed for all bug fixes and enhancements and this helps us generate change logs for our releases. You can link an issue to this PR using the GitHub syntax. For example `Closes #123` indicates that this PR will close issue #123. --> - Closes #. ## What changes are included in this PR? <!-- Provide a summary of the modifications in this PR. List the main changes such as new features, bug fixes, refactoring, or any other updates. --> 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? <!-- Specify what test covers (unit test, integration test, etc.). If tests are not included in your PR, please explain why (for example, are they covered by existing tests)? -->
1 parent bf984c7 commit 617be09

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
@@ -43,7 +43,9 @@ github:
4343
dismiss_stale_reviews: false
4444

4545
required_linear_history: true
46-
del_branch_on_merge: true
46+
pull_requests:
47+
# auto-delete head branches after being merged
48+
del_branch_on_merge: true
4749
features:
4850
wiki: false
4951
issues: true

0 commit comments

Comments
 (0)