Skip to content

disable automerge and align renovate config with telco5g-konflux repos#1469

Merged
danmanor merged 1 commit into
rh-ecosystem-edge:mainfrom
by2waysprojects:disable-automerge-renovate
May 10, 2026
Merged

disable automerge and align renovate config with telco5g-konflux repos#1469
danmanor merged 1 commit into
rh-ecosystem-edge:mainfrom
by2waysprojects:disable-automerge-renovate

Conversation

@by2waysprojects

@by2waysprojects by2waysprojects commented May 8, 2026

Copy link
Copy Markdown
Contributor
  • Remove autoApprove, automerge and platformAutomerge settings
  • Replace approved/lgtm labels with allow-automatic-merge
  • Use matchPackageNames instead of matchFileNames for git-submodules
  • Add allow-automatic-merge label to tekton section
  • Add mintmaker-presets:refresh-rpm-lockfiles preset

Summary by CodeRabbit

  • Chores
    • Updated dependency automation configuration to refine how automatic merges are managed for dependency updates.

- Remove autoApprove, automerge and platformAutomerge settings
- Replace approved/lgtm labels with allow-automatic-merge
- Use matchPackageNames instead of matchFileNames for git-submodules
- Add allow-automatic-merge label to tekton section
- Add mintmaker-presets:refresh-rpm-lockfiles preset

Co-authored-by: Cursor <cursoragent@cursor.com>
@openshift-ci openshift-ci Bot requested review from danmanor and tsorya May 8, 2026 18:03
@openshift-ci openshift-ci Bot added the approved label May 8, 2026
@coderabbitai

coderabbitai Bot commented May 8, 2026

Copy link
Copy Markdown

Review Change Stack

Walkthrough

This PR updates renovate.json to adopt a label-based automatic merge strategy. It adds a new preset extension for RPM lockfile refresh and modifies three package rule blocks to add allow-automatic-merge labels while removing previous automerge/approval settings.

Changes

Renovate Merge Strategy Configuration

Layer / File(s) Summary
Preset Extension
renovate.json
Adds github>konflux-ci/mintmaker-presets:refresh-rpm-lockfiles to the extends configuration.
Package Rules Migration
renovate.json
Three packageRules entries add addLabels: ["allow-automatic-merge"] to dependency, nodejs, and tekton rules, replacing previous automerge/approval-based settings.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly reflects the main objectives of the changeset: disabling automerge settings and realigning the renovate configuration to match telco5g-konflux repository standards.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@by2waysprojects

Copy link
Copy Markdown
Contributor Author

/hold

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🧹 Nitpick comments (2)
renovate.json (2)

6-7: ⚡ Quick win

automergeStrategy and automergeType are dead config without a corresponding automerge: true.

The PR removes automerge/platformAutomerge but leaves these two top-level fields. Without automerge: true (globally or per rule), Renovate ignores automergeStrategy and automergeType entirely. They add noise and may confuse future editors into thinking automerge is still active.

🧹 Proposed cleanup
-    "automergeStrategy": "rebase",
-    "automergeType": "pr",
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@renovate.json` around lines 6 - 7, Remove the now-dead top-level Renovate
config keys "automergeStrategy" and "automergeType" (they only take effect when
"automerge": true is present); either delete these two fields from renovate.json
to avoid confusion, or if you intended automerge behavior, add "automerge": true
(globally or per-rule) instead—target the top-level keys "automergeStrategy" and
"automergeType" when making the change.

6-7: ⚡ Quick win

Remove orphaned automergeStrategy and automergeType — they have no effect without automerge: true.

This PR removes automerge/platformAutomerge in favour of label-based merging via allow-automatic-merge. However, automergeStrategy and automergeType at the top level are left behind. Without a corresponding automerge: true (globally or per rule), Renovate ignores both fields entirely. Keeping them risks misleading future maintainers into thinking Renovate-native automerge is still active.

🧹 Proposed cleanup
-    "automergeStrategy": "rebase",
-    "automergeType": "pr",
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@renovate.json` around lines 6 - 7, Remove the orphaned Renovate config keys
"automergeStrategy" and "automergeType" because they have no effect without
"automerge: true"; locate those keys in renovate.json (the top-level config),
delete both entries, and ensure we rely on the label-based merging workflow
("allow-automatic-merge"/platform label rules) instead of reintroducing
"automerge" or "platformAutomerge".
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Nitpick comments:
In `@renovate.json`:
- Around line 6-7: Remove the now-dead top-level Renovate config keys
"automergeStrategy" and "automergeType" (they only take effect when "automerge":
true is present); either delete these two fields from renovate.json to avoid
confusion, or if you intended automerge behavior, add "automerge": true
(globally or per-rule) instead—target the top-level keys "automergeStrategy" and
"automergeType" when making the change.
- Around line 6-7: Remove the orphaned Renovate config keys "automergeStrategy"
and "automergeType" because they have no effect without "automerge: true";
locate those keys in renovate.json (the top-level config), delete both entries,
and ensure we rely on the label-based merging workflow
("allow-automatic-merge"/platform label rules) instead of reintroducing
"automerge" or "platformAutomerge".

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: ec8c5acd-94e3-4bd1-ab19-901ecf99b9e4

📥 Commits

Reviewing files that changed from the base of the PR and between 2b574cb and 81df5ff.

📒 Files selected for processing (1)
  • renovate.json

@fontivan

fontivan commented May 8, 2026

Copy link
Copy Markdown
Member

/lgtm

@openshift-ci

openshift-ci Bot commented May 8, 2026

Copy link
Copy Markdown

@by2waysprojects: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/ibi-e2e-flow 81df5ff link true /test ibi-e2e-flow
ci/prow/baremetalds-sno-recert-cluster-rename 81df5ff link true /test baremetalds-sno-recert-cluster-rename
ci/prow/ibu-e2e-flow 81df5ff link true /test ibu-e2e-flow
ci/prow/ipc-e2e-flow 81df5ff link true /test ipc-e2e-flow
ci/prow/e2e-aws-ovn-single-node-recert-parallel 81df5ff link true /test e2e-aws-ovn-single-node-recert-parallel
ci/prow/e2e-aws-ovn-single-node-recert-serial 81df5ff link true /test e2e-aws-ovn-single-node-recert-serial

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@openshift-ci

openshift-ci Bot commented May 10, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: by2waysprojects, danmanor

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:
  • OWNERS [by2waysprojects,danmanor]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@danmanor danmanor merged commit 6425994 into rh-ecosystem-edge:main May 10, 2026
7 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants