fix(renovate): resolve invalid config blocking Renovate PRs#6
Merged
Conversation
Renovate stopped opening PRs due to two config errors (issue #5): - customManagers regex used a negative lookahead `(?!ghcr\.io/openchami/)`, which Go's RE2 engine (used by Renovate) does not support. The second manager was otherwise identical to the first, so collapse both into one manager matching any annotated image; packageRules already scope behaviour per registry. - packageRules cannot combine `matchUpdateTypes` and `ignoreUnstable`. Drop the redundant `matchUpdateTypes` — `ignoreUnstable` alone does the intended job of skipping pre-release tags. Also modernize deprecated `matchPackagePrefixes`/`matchPackagePatterns` to `matchPackageNames` glob form to avoid future config warnings. Validated with `renovate-config-validator`. Closes #5 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
alexlovelltroy
approved these changes
Jul 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes the two Renovate config validation errors reported in #5, which were causing Renovate to halt all PRs.
1. Invalid regExp (customManagers)
The second custom manager used a negative lookahead
(?!ghcr\.io/openchami/). Renovate's regex managers run on Go's RE2 engine, which does not support lookahead assertions, so the pattern was rejected.The second manager was byte-for-byte identical to the first except for that lookahead (same
datasource, sameversioningtemplate), so both are collapsed into a single manager matching any annotated image. ThepackageRulesalready scope behaviour per-registry, so no coverage is lost.2.
packageRulescombinedmatchUpdateTypes+ignoreUnstableRenovate forbids these together in one rule. The rule's job — skip pre-release tags — is handled entirely by
ignoreUnstable: true, so the redundantmatchUpdateTypesis dropped.Bonus cleanup
Modernized deprecated
matchPackagePrefixes/matchPackagePatternstomatchPackageNames: ["ghcr.io/openchami/**"](Renovate was already auto-migrating these), preventing future config warnings.Validation
Closes #5
🤖 Generated with Claude Code