Skip to content

Fix: Update merge-group behaviour to support additional merge queue configurations#203

Merged
meeroslav merged 1 commit intonrwl:mainfrom
Simon-Leslie:merge_group
Nov 13, 2025
Merged

Fix: Update merge-group behaviour to support additional merge queue configurations#203
meeroslav merged 1 commit intonrwl:mainfrom
Simon-Leslie:merge_group

Conversation

@Simon-Leslie
Copy link
Copy Markdown
Contributor

@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.

Fixes #191

Comment thread action.yml
@Simon-Leslie
Copy link
Copy Markdown
Contributor Author

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

@meeroslav meeroslav self-assigned this Nov 12, 2025
@meeroslav meeroslav added feature New feature or request bug Something isn't working labels Nov 12, 2025
@meeroslav meeroslav closed this Nov 13, 2025
@meeroslav meeroslav reopened this Nov 13, 2025
@meeroslav meeroslav merged commit 6567940 into nrwl:main Nov 13, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Handle github merge-queue better?

3 participants