Skip to content

Conversation

Simon-Leslie
Copy link

@Simon-Leslie Simon-Leslie commented Sep 3, 2025

Context
When working with merge queues, one of the configuration options is 'Only merge non-failing pull requests'. As described in the docs, "This setting determines how a merge queue forms groups of pull requests to be merged."

Setting this configuration to true means every pull request must pass status checks in order to be merged as part of the group.

Setting this configuration to false means that so long as the final pull request in the group passes it's status checks then the whole group will be merged.

Problem
Issue: #191
Initial change: #145
Initial comment: #140 (comment)

The previous change linked above requires 'Only merge non-failing pull requests' to be true. This is fine as failing pull requests will be removed, it can safely assume that the previous commit will be successful.

In cases where 'Only merge non-failing pull requests' is false, it would be preferable for the merge group to use the default previous successful commit behaviour. This would allow the final pull request in a merge group to run the applicable checks for any changes in the group.

Solution Proposed
Adding an additional configuration option to make the current merge-group behaviour optional.

@Simon-Leslie
Copy link
Author

@JamesHenry would you be able to take a look whenever you get a chance please? 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants