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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🩺 Stability & Availability | 🟠 Major | ⚡ Quick win
🔎 Supported by static analysis
🏁 Script executed:
Repository: dominikholler/webdavserver
Length of output: 620
🌐 Web query:
Renovate configuration platformAutomerge default true automerge branch protection status checks documentation💡 Result:
To enable automerge in Renovate, you must set the
automergeconfiguration option totrue(it defaults tofalse) [1]. Regarding your query about platform automerge and branch protection, here is the essential documentation and behavior: 1. Platform Automerge: By default, Renovate usesplatformAutomerge=true[2][1]. This means Renovate instructs the underlying platform (e.g., GitHub) to handle the merge once the pull request is considered "ready" [2][3]. 2. Branch Protection and Status Checks: If you use GitHub's "Require status checks to pass before merging" branch protection rule, it is critical that you explicitly select at least one status check in that section [3][4]. If you do not select any specific checks, GitHub may consider the requirements satisfied and allow the merge even if tests are failing [3][4]. 3. Renovate's Role: WhenplatformAutomergeis enabled, Renovate relies on the platform to enforce branch protection rules [3]. If you have not correctly configured your branch protection (specifically by selecting required checks), the platform may merge the pull request despite failing tests, as Renovate does not "override" the platform's decision in this state [3][4]. 4. Requirements for Automerging: For Renovate to successfully automerge, the PR must generally meet these conditions [5][1]: *automergeis set totrue[1]. * The pull request passes all required status checks (orignoreTestsis set totrue) [2][1][6]. * If you have mandatory pull request reviews, Renovate may be unable to merge unless it is configured to bypass them (e.g., via GitHub's "Allow specified actors to bypass required pull requests" setting) [6]. We recommend reviewing your repository's branch protection settings in GitHub to ensure that status checks are explicitly enabled and selected, as this is the primary mechanism preventing the premature merging of pull requests [3][4].Citations:
Require CI checks before automerge.
If the default branch does not explicitly require the relevant status checks, set
"platformAutomerge": false; otherwise, Renovate may merge updates despite failing non-required checks.🤖 Prompt for AI Agents
🩺 Stability & Availability | 🟠 Major | ⚡ Quick win
🔎 Supported by static analysis
🏁 Script executed:
Repository: dominikholler/webdavserver
Length of output: 491
🌐 Web query:
Renovate documentation automerge true major updates packageRules matchUpdateTypes patch minor pin digest platformAutomerge default💡 Result:
In Renovate, you can configure automerge behavior for specific update types by using the packageRules configuration option [1][2][3]. While major updates are typically excluded from automated merging due to the risk of breaking changes, they can be included by explicitly setting automerge to true [3][4]. To enable automerge for specific updates while excluding others (such as major updates), you can use the matchUpdateTypes property [1][3]. For example, the following configuration automerges all non-major updates [1][3]: { "packageRules": [ { "matchUpdateTypes": ["minor", "patch", "pin", "digest"], "automerge": true } ] } Key configuration details: 1. matchUpdateTypes: This option allows you to target specific types of updates including major, minor, patch, pin, and digest [5]. 2. Automerge Behavior: Setting automerge to true triggers the automerge process for the matched rules, provided the updates pass the required status checks [3][4]. 3. Platform Automerge: By default, Renovate uses platform-native automerge (platformAutomerge: true), which offloads the merge action to the platform (e.g., GitHub, GitLab) to speed up the process [6][7][8]. This has been the default behavior since Renovate version 36.0.0 [8]. If you need to disable this, you must explicitly set platformAutomerge to false [6][7]. For scenarios where you want to ensure major updates are reviewed manually, it is common practice to use the dependencyDashboardApproval option instead of automerge, or simply omit major from your matchUpdateTypes list [2][5][4].
Citations:
Scope automerge to non-major updates.
The global
"automerge": trueapplies to all Renovate updates, includingmajorupdates. A major update can pass CI and still require manual code or configuration changes. Enable automerge only forpatch,minor,pin, anddigestupdates throughpackageRules.🤖 Prompt for AI Agents