Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Oct 31, 2025

Renovate v41 was failing with config validation errors across all bootc-dev repositories, blocking automated dependency updates.

Changes:

  • Migrated customManagers to regexManagers for regex-based custom dependency detection
  • Converted description fields in packageRules from arrays to strings per schema requirements

Before:

"customManagers": [
  {
    "customType": "regex",
    "description": "Update ARG version variables...",
    "fileMatch": ["(^|/)Containerfile$"],
    ...
  }
],
"packageRules": [
  {
    "description": ["GitHub Actions dependencies"],
    ...
  }
]

After:

"regexManagers": [
  {
    "fileMatch": ["(^|/)Containerfile$"],
    ...
  }
],
"packageRules": [
  {
    "description": "GitHub Actions dependencies",
    ...
  }
]

Resolves validation errors:

  • customManagers[0].description should be a list (Array)
  • Custom Manager contains disallowed fields: fileMatch
  • Invalid configuration option: customManagers[0].fileMatch

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • docs.renovatebot.com
    • Triggering command: curl -s REDACTED (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

This section details on the original issue you should resolve

<issue_title>Action Required: Fix Renovate Configuration</issue_title>
<issue_description>There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.

</issue_description>

<agent_instructions>Debug this and see if you can fix it, be sure to reference all the renovate docs</agent_instructions>

Comments on the Issue (you are @copilot in this section)

@cgwalters Failing job https://github.com/bootc-dev/infra/actions/runs/18982631421/job/54218716748

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI changed the title [WIP] Fix error in Renovate configuration Fix Renovate configuration for v41 compatibility Oct 31, 2025
Copilot AI requested a review from cgwalters October 31, 2025 19:20
- Change customManagers to regexManagers (correct format for Renovate)
- Remove customType and description from regex manager (not needed)
- Fix description fields in packageRules (changed from arrays to strings)

Signed-off-by: Colin Walters <walters@verbum.org>
@cgwalters cgwalters force-pushed the copilot/fix-renovate-configuration branch from 038ebf4 to 11494e8 Compare October 31, 2025 19:48
@cgwalters cgwalters marked this pull request as ready for review October 31, 2025 19:48
@cgwalters cgwalters enabled auto-merge (squash) October 31, 2025 19:49
@cgwalters
Copy link
Contributor

OK let's try this...

This was broken in #25 when I added some renovate rules at the last minute.

@cgwalters cgwalters merged commit de7e68e into main Nov 3, 2025
1 check passed
cgwalters added a commit to cgwalters/infra that referenced this pull request Nov 3, 2025
The previous commit incorrectly changed customManagers to regexManagers,
which caused configuration validation errors. Renovate expects:
- customManagers with customType: "regex" (not regexManagers)
- custom.regex as the manager name in packageRules (not just "regex")

This restores the correct configuration format that validates successfully.

Fixes: de7e68e ("Fix Renovate configuration errors (bootc-dev#33)")

Assisted-by: Claude Code (Sonnet 4.5)
Signed-off-by: Colin Walters <walters@verbum.org>
gursewak1997 pushed a commit that referenced this pull request Nov 3, 2025
The previous commit incorrectly changed customManagers to regexManagers,
which caused configuration validation errors. Renovate expects:
- customManagers with customType: "regex" (not regexManagers)
- custom.regex as the manager name in packageRules (not just "regex")

This restores the correct configuration format that validates successfully.

Fixes: de7e68e ("Fix Renovate configuration errors (#33)")

Assisted-by: Claude Code (Sonnet 4.5)

Signed-off-by: Colin Walters <walters@verbum.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Action Required: Fix Renovate Configuration

4 participants