Skip to content

chore(config): migrate Renovate config#207

Open
red-hat-konflux[bot] wants to merge 1 commit intomainfrom
konflux/mintmaker/migrate-config
Open

chore(config): migrate Renovate config#207
red-hat-konflux[bot] wants to merge 1 commit intomainfrom
konflux/mintmaker/migrate-config

Conversation

@red-hat-konflux
Copy link
Copy Markdown
Contributor

The Renovate config in this repository needs migrating. Typically this is because one or more configuration options you are using have been renamed.

You don't need to merge this PR right away, because Renovate will continue to migrate these fields internally each time it runs. But later some of these fields may be fully deprecated and the migrations removed. So it's a good idea to merge this migration PR soon.

🔕 Ignore: Close this PR and you won't be reminded about config migration again, but one day your current config may no longer be valid.

❓ Got questions? Does something look wrong to you? Please don't hesitate to request help here.


To execute skipped test pipelines write comment /ok-to-test.


Documentation

Find out how to configure dependency updates in MintMaker documentation or see all available configuration options in Renovate documentation.

@red-hat-konflux red-hat-konflux bot added area/ci-tooling ok-to-test Indicates a non-member PR verified by an org member that is safe to test. labels Mar 17, 2026
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Mar 17, 2026

Walkthrough

Renovate configuration file updated with reformatted array structures and revised dependency matching strategy, replacing matchPackagePrefixes with matchPackageNames using negated patterns for exclusion logic in Kubernetes-related dependency groups.

Changes

Cohort / File(s) Summary
Renovate Configuration
renovate.json
Reformatted extends and labels arrays to multi-line format. Updated Kubernetes group matchPackagePrefixes to matchPackageNames. Non-Kubernetes Go dependencies group now uses matchManagers with gomod and negated matchPackageNames patterns to exclude k8s.io and sigs.k8s.io packages.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch konflux/mintmaker/migrate-config
📝 Coding Plan
  • Generate coding plan for human review comments

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

@openshift-ci openshift-ci bot requested review from bryan-cox and enxebre March 17, 2026 16:37
@openshift-ci
Copy link
Copy Markdown

openshift-ci bot commented Mar 17, 2026

Hi @red-hat-konflux[bot]. Thanks for your PR.

I'm waiting for a openshift member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work.

Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

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.

@openshift-ci
Copy link
Copy Markdown

openshift-ci bot commented Mar 17, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: red-hat-konflux[bot]
Once this PR has been reviewed and has the lgtm label, please assign sjenning for approval. For more information see the Code Review Process.

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

Details Needs approval from an approver in each of these files:

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

@openshift-ci
Copy link
Copy Markdown

openshift-ci bot commented Mar 17, 2026

@red-hat-konflux[bot]: all tests passed!

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.

Copy link
Copy Markdown

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

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

27-30: Verify negation-only matchPackageNames behavior in this Renovate rule.

This may work, but negation-only match lists can be ambiguous across matcher semantics. To make intent explicit and avoid silent non-matching, add a catch-all include before exclusions.

Proposed adjustment
       "matchPackageNames": [
+        "*",
         "!k8s.io/{/,}**",
         "!sigs.k8s.io/{/,}**"
       ]
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@renovate.json` around lines 27 - 30, The current Renovate rule's
matchPackageNames list contains only negations which can be ambiguous; update
the matchPackageNames array (the matchPackageNames symbol in the Renovate rule)
to include an explicit catch-all include (e.g., "*" or "**") as the first entry,
followed by the existing negation entries, so the intent is explicit and the
exclusions are applied reliably.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Nitpick comments:
In `@renovate.json`:
- Around line 27-30: The current Renovate rule's matchPackageNames list contains
only negations which can be ambiguous; update the matchPackageNames array (the
matchPackageNames symbol in the Renovate rule) to include an explicit catch-all
include (e.g., "*" or "**") as the first entry, followed by the existing
negation entries, so the intent is explicit and the exclusions are applied
reliably.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 36f30521-7765-4864-ad0b-d091a06be00a

📥 Commits

Reviewing files that changed from the base of the PR and between a3f9448 and 4e5560c.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/ci-tooling ok-to-test Indicates a non-member PR verified by an org member that is safe to test.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants