Repository navigation
Conversation
A member's PR whose base is the branch of another open PR, in a stack that ends at dev, now passes the Merge target check instead of getting a warning. It can't merge before the PR below it, so the warning asked for nothing. Backports and release work still warn: an open PR from rc into master doesn't end at dev. Non-members still fail.
thecode
marked this pull request as ready for review
November 28, 2026 00:34
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed change
A stacked PR targets the branch of the PR below it, so the Merge target check warns that it doesn't target
dev. There is nothing for the author to do about that: the PR can't merge before the one below it, and GitHub retargets it when that one merges. Example: home-assistant/core#194829 (comment)With this change the check passes for a member's PR when its base branch is the head of another open PR in the same repository and that stack ends at
dev. The message names the PR directly below, for example "This PR is stacked on #194859."What stays the same:
dev.rcintomasterdoesn't end atdev, so a PR intorcisn't treated as stacked.The lookup is one
GET /repos/{owner}/{repo}/pulls?head=…request per level of the stack, made only for a member's PR that doesn't targetdev. It stops after 10 levels or when branches target each other, and then warns as before.Type of change
Additional information
Checklist
mise run test). Your PR cannot be merged unless tests pass.mise run check).mise run format).If behaviour, configuration, or environment variables changed:
README.mdand.env.examplehave been updated accordingly.