← Back to issue list

fix(ci): replace managerFilePatterns with fileMatch in renovate config

View original Github issue

Metadata

Project
rockcraft
Number
#1413
Type
pull request
State
open
Author
LoweRAM
Labels
—
Created
Updated
Closed
—

Current evaluation

Fixes Renovate config validation error by replacing deprecated managerFilePatterns with fileMatch in .github/renovate.json5. Verified locally; CI mostly passing.

Suggested action: needs review

Reason: This is a straightforward 2-line config fix that resolves a Renovate validation error. The author verified the fix locally with renovate-config-validator, and CI checks are passing (the single failing OSV-scanner check is unrelated to this change). Ready for maintainer review.

Evaluated by: mr-cal-bot

Impact: 30 Quick Win: 23 Complexity: 5 Confidence: 85 Actionability: 80

Issue body

## Why this change is necessary The CI workflow `renovate` runs `renovate-config-validator .github/renovate.json5` on every pull request. The validation was failing with the following error: ```text ERROR: Found errors in configuration "file": ".github/renovate.json5", "errors": [ { "topic": "Configuration Error", "message": "Custom Manager contains disallowed fields: managerFilePatterns" }, { "topic": "Configuration Error", "message": "Invalid configuration option: customManagers[0].managerFilePatterns" } ] ``` In Renovate's custom regex managers (`customManagers`), `managerFilePatterns` is not a recognized configuration option and causes validation to fail. Renovate regex custom managers use `fileMatch` to define the file path patterns to match. ## Changes - Replace `managerFilePatterns` with `fileMatch` in both custom regex managers in `.github/renovate.json5`. ## Verification - Ran `renovate-config-validator .github/renovate.json5` locally; verified configuration validates successfully without errors.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b
Impact: 30
Quick Win: 23
Complexity: 5
Confidence: 85
Actionability: 80
needs review Fixes Renovate config validation error by replacing deprecated managerFilePatterns with fileMatch in .github/renovate.json5. Verified locally; CI mostly passing.
qwen/qwen3.6-35b-a3b
Impact: 20
Quick Win: 16
Complexity: 0
Confidence: 80
Actionability: 80
needs review Fixes Renovate config by replacing deprecated managerFilePatterns with fileMatch in custom regex managers. CI passing, awaiting review.

Update history

Date Change
updated
created

Related work

  • Related To: snapcraft-rocks#92 (confidence 80%)

    That PR made the opposite change (replacing fileMatch with managerFilePatterns), which appears to have been incorrect since Renovate now rejects managerFilePatterns as a disallowed field.

Related issues

Issue Project State Summary Similarity
#92 chore(config): migrate renovate config snapcraft-rocks merged Merged in #92 via commit e08f23b, replacing Renovate's deprecated fileMatch option with managerFilePatterns in renovate.json.
77%
#646 ci(renovate): fix renovate regex manager craft-parts merged Merged PR #646 fixed Renovate’s regex manager configuration with a one-line change, approved by two reviewers; committed as a9fb66f8.
73%
#215 ci: remove deprecated renovate config options starbase merged Merged CI cleanup PR #215 (commit 77ce088) dropped deprecated options from .github/renovate.json5; approved by 2 reviewers with no CI failures. Config later superseded by #260/#281.
71%