@@ -112,6 +112,43 @@ github:
112112 branch-55 :
113113 required_pull_request_reviews :
114114 required_approving_review_count : 1
115+
116+ # GitHub merge queue settings for `main`.
117+ #
118+ # The merge queue is managed through rulesets
119+ # https://github.com/apache/infrastructure-asfyaml#rulesets
120+ #
121+ # Merge queue rules do not support wildcard ref patterns, so only the default
122+ # branch is covered; release branches keep plain branch protection above.
123+ rulesets :
124+ - name : Merge Queue
125+ target : branch
126+ enforcement : active
127+ conditions :
128+ ref_name :
129+ include :
130+ - " ~DEFAULT_BRANCH"
131+ exclude : []
132+ rules :
133+ - type : merge_queue
134+ parameters :
135+ # Matches enabled_merge_buttons above.
136+ merge_method : SQUASH
137+ # Every entry's own build must be green, not only the head of the
138+ # group.
139+ grouping_strategy : ALLGREEN
140+ # How many queue entries are built and tested concurrently.
141+ max_entries_to_build : 5
142+ # How many green entries may land in one merge operation (note this
143+ # does not combine CI builds)
144+ max_entries_to_merge : 1
145+ min_entries_to_merge : 1
146+ min_entries_to_merge_wait_minutes : 5
147+ # How long the queue waits for a required check to report before
148+ # treating it as failed and evicting the entry. Set to 6h to handle
149+ # periods of high runner queue times. See
150+ # https://github.com/apache/datafusion/issues/26292
151+ check_response_timeout_minutes : 360
115152 pull_requests :
116153 # enable updating head branches of pull requests
117154 allow_update_branch : true
0 commit comments