Feature/DEVX 672 control renovate automerge schedule in automerge json 5 preset#86
Conversation
**WHY** We noticed in some situation after adopting the automerge preset offered by us causes some PR merges during undesired hours. These depend on the repository configuration and are caused by the bypass of the default branch protection rule that is necessary to keep the branch-merge preset working.
|
📊 Survey: Please help us track internal AI adoption. This is not for evaluation, only for metrics. You can update this anytime before merge.
🧑💻 If AI was used, what was it mainly used for?
Thank you in advance for your feedback.💙🙏🎉 |
There was a problem hiding this comment.
The PR adds automergeSchedule for backwards compatibility and cleans up comments around schedule, platformAutomerge, and prCreation. The changes are broadly correct, but two comments contain misleading or incomplete documentation that could confuse future maintainers — see the inline notes above for clarification suggestions.
PR Bot Information
Version: 1.20.23
- Correlation ID:
f4bbcc67-57b9-4239-9573-948fc200b8fe - Event Trigger:
pull_request.opened - File Content Strategy: Full file content
- LLM:
anthropic--claude-4.6-sonnet
64c6c12 to
bd19901
Compare
Add Scheduling Comments and
automergeScheduleto Renovate Automerge PresetRefactor
♻️ Enhanced the
automerge.json5Renovate preset with improved inline documentation and an explicitautomergeScheduleconfiguration for backwards compatibility.Changes
renovate-presets/automerge.json5:schedulefield — it controls PR creation windows for both platform automerge and merge queue scenarios where Renovate loses control over the merge schedule.automergeSchedule(set to* 9-13 * * 1-5) with a backwards-compatibility note for repositories that do not use a merge queue and still rely on Renovate to control automerge timing.platformAutomerge: truecauses Renovate to lose control over the merge schedule.prCreation: not-pendingprevents premature PR merges by waiting for stability days checks to pass.PR Bot Information
Version:
1.20.23anthropic--claude-4.6-sonnetf4bbcc67-57b9-4239-9573-948fc200b8fepull_request.opened