Skip to content

Commit 7e020a4

Browse files
authored
Enable auto-merge and update settings on PRs (apache#3662)
This enables the following features for pull requests: - Enables the "Auto-merge" button: this allows for a PR to be merged as soon as the required checks and reviews pass. - Enables the "Update branch" button: this allows merging the **base** branch into the PR branch from the UI. - Enables automatic deletion of branches after a merge.
1 parent b198245 commit 7e020a4

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.asf.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,16 @@ github:
5656
- api
5757
- syslog
5858

59+
# Pull Request settings:
60+
# https://github.com/apache/infrastructure-asfyaml#pull-request-settings
61+
pull_requests:
62+
# allow auto-merge
63+
allow_auto_merge: true
64+
# enable updating head branches of pull requests
65+
allow_update_branch: true
66+
# auto-delete head branches after being merged
67+
del_branch_on_merge: true
68+
5969
# Enforce squashing while merging PRs.
6070
# Otherwise, the git log gets polluted severely.
6171
enabled_merge_buttons:

0 commit comments

Comments
 (0)