Skip to content

Feature/DEVX 672 control renovate automerge schedule in automerge json 5 preset#86

Merged
r0binary-sap merged 2 commits intomainfrom
feature/DEVX-672-control-renovate-automerge-schedule-in-automerge-json-5-preset
Apr 23, 2026
Merged

Feature/DEVX 672 control renovate automerge schedule in automerge json 5 preset#86
r0binary-sap merged 2 commits intomainfrom
feature/DEVX-672-control-renovate-automerge-schedule-in-automerge-json-5-preset

Conversation

@r0binary-sap
Copy link
Copy Markdown
Contributor

@r0binary-sap r0binary-sap commented Apr 22, 2026

Add Scheduling Comments and automergeSchedule to Renovate Automerge Preset

Refactor

♻️ Enhanced the automerge.json5 Renovate preset with improved inline documentation and an explicit automergeSchedule configuration for backwards compatibility.

Changes

  • renovate-presets/automerge.json5:
    • Added explanatory comments clarifying the purpose of the schedule field — it controls PR creation windows for both platform automerge and merge queue scenarios where Renovate loses control over the merge schedule.
    • Added 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.
    • Added a comment clarifying that platformAutomerge: true causes Renovate to lose control over the merge schedule.
    • Added comments explaining that prCreation: not-pending prevents premature PR merges by waiting for stability days checks to pass.
  • 🔄 Regenerate and Update Summary
PR Bot Information

Version: 1.20.23

  • Summary Prompt: Default Prompt
  • File Content Strategy: Full file content
  • Output Template: Default Template
  • LLM: anthropic--claude-4.6-sonnet
  • Correlation ID: f4bbcc67-57b9-4239-9573-948fc200b8fe
  • Event Trigger: pull_request.opened

**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.
@internal-ai-adoption-analytics
Copy link
Copy Markdown

internal-ai-adoption-analytics Bot commented Apr 22, 2026

📊 Survey: Please help us track internal AI adoption. This is not for evaluation, only for metrics. You can update this anytime before merge.
🤖 Which AI developer tool(s), if any, were used to assist with this PR? Please tick one or more boxes below:

  • None
  • Cline
  • Claude Code
  • Cursor
  • GitHub Copilot
  • Other

🧑‍💻 If AI was used, what was it mainly used for?

  • Coding / Implementation
  • Testing (unit, integration, e2e)
  • Documentation
  • Research / Investigation
  • Refactoring / Cleanup
  • Configuration / DevOps
  • Other

Thank you in advance for your feedback.💙🙏🎉
Here's a joke to brighten your day: Why did the AI go to art school? To learn about GAN-vas painting! 🎨

Copy link
Copy Markdown

@hyperspace-insights hyperspace-insights Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Comment thread renovate-presets/automerge.json5
Comment thread renovate-presets/automerge.json5
@r0binary-sap r0binary-sap force-pushed the feature/DEVX-672-control-renovate-automerge-schedule-in-automerge-json-5-preset branch from 64c6c12 to bd19901 Compare April 22, 2026 08:26
@r0binary-sap r0binary-sap merged commit a0b28cb into main Apr 23, 2026
3 checks passed
@r0binary-sap r0binary-sap deleted the feature/DEVX-672-control-renovate-automerge-schedule-in-automerge-json-5-preset branch April 23, 2026 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants