fix(github): respect automergeStrategy with platform automerge#44563
Open
jetersen wants to merge 3 commits into
Open
fix(github): respect automergeStrategy with platform automerge#44563jetersen wants to merge 3 commits into
jetersen wants to merge 3 commits into
Conversation
viceice
reviewed
Jul 14, 2026
viceice
left a comment
Member
There was a problem hiding this comment.
needs docs update, check automerge strategy docs
Author
|
@viceice not sure which of the two commits you prefer for wording the docs, but let me know and I'll update it. |
viceice
approved these changes
Jul 14, 2026
viceice
left a comment
Member
There was a problem hiding this comment.
renovate/lib/config/options/index.ts
Line 2333 in 64e6a4c
I thought it was missing here, but isn't.
Author
|
@viceice at least after checking who supports respecting automergeStrategy with platform automerge, here is the list:
Getting Bitbucket Server and GitLab supported in a follow up PRs but I can't make promise on Bitbucket Server. But at least it would be good to align on the platform support. |
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.
Changes
Use the configured
automergeStrategywhen enabling GitHub platform-native automerge, falling back to the repository-detected merge method when the strategy isautoor unsupported.Add a regression test proving that an explicit
rebasestrategy overrides the detectedsquashmethod in theenablePullRequestAutoMergeGraphQL mutation.Document that supported platforms apply
automergeStrategyto platform-native automerge, with cross-references from both related option sections.Context
Related discussion: #41177
AI assistance disclosure
Did you use AI tools to create any part of this pull request?
Codex, based on GPT-5, was used to inspect the codebase, implement the change, add the regression test and documentation, and prepare this pull request description.
Documentation
How I’ve tested my work
Full
pnpm testusing the repository-pinned Node 24.18.0 toolchain:The documentation updates also pass
pnpm check --all docs/usage/configuration-options.md.