fix(renovate): use managerFilePatterns with latest Renovate validator#311
Merged
book000 merged 6 commits intorenovate/migrate-configfrom Nov 25, 2025
Merged
fix(renovate): use managerFilePatterns with latest Renovate validator#311book000 merged 6 commits intorenovate/migrate-configfrom
book000 merged 6 commits intorenovate/migrate-configfrom
Conversation
…ctions config Co-authored-by: book000 <8929706+book000@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Migrate Renovate configuration options
fix(renovate): replace invalid managerFilePatterns with fileMatch
Nov 24, 2025
Owner
|
@copilot これでは、元のPRの内容をもとに戻すのみです。バリデーターが間違えていることも視野に入れ、最新のドキュメントをもとに正しい情報で更新してください。 |
…e CLI Co-authored-by: book000 <8929706+book000@users.noreply.github.com>
Contributor
Author
最新のRenovateドキュメントを確認しました。 問題の原因:
実施した修正:
これにより、公式のRenovate CLIで検証が成功するようになりました。 |
Co-authored-by: book000 <8929706+book000@users.noreply.github.com>
Co-authored-by: book000 <8929706+book000@users.noreply.github.com>
Copilot
AI
changed the title
fix(renovate): replace invalid managerFilePatterns with fileMatch
fix(renovate): replace managerFilePatterns with fileMatch and update validator
Nov 24, 2025
Owner
|
@copilot バリデーターを直したことで、managerFilePatternsが適切であるようになったのであれば、managerFilePatternsを用いてください |
Co-authored-by: book000 <8929706+book000@users.noreply.github.com>
Contributor
Author
ご指摘ありがとうございます。 調査の結果、 実施した修正 (commit: 5be1f56):
これにより、本来の移行内容である |
Copilot
AI
changed the title
fix(renovate): replace managerFilePatterns with fileMatch and update validator
fix(renovate): use managerFilePatterns with latest Renovate validator
Nov 24, 2025
book000
added a commit
that referenced
this pull request
Nov 25, 2025
* chore(config): migrate config renovate.json * fix(renovate): use managerFilePatterns with latest Renovate validator (#311) Co-authored-by: book000 <8929706+book000@users.noreply.github.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com> Co-authored-by: book000 <8929706+book000@users.noreply.github.com>
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.
The Renovate config migration introduced
github-actions.managerFilePatternswhich is valid according to the official Renovate schema, but requires a recent version of Renovate to validate correctly.Changes
renovate.json
github-actions.managerFilePatternswith proper regex format/^workflows/.*\\.ya?ml$/"github-actions": { + "managerFilePatterns": [ + "/^workflows/.*\\.ya?ml$/" ] }renovate-validate.yml
rinchsan/renovate-config-validator@mainaction with official Renovate CLI validatorrenovate@latestto ensure compatibility with modern configuration optionsset -eto both validation steps for fail-fast behavior on errorsRoot Cause
The
github-actions.managerFilePatternsoption is valid according to the official Renovate schema, but older versions of Renovate (installed by default) don't support it in manager-specific configuration blocks. Renovate v42.19.6+ properly supports this syntax.Solution
By updating the validator to use
renovate@latest, the configuration now uses the correctmanagerFilePatternsoption as intended by the original migration and validates successfully.Validation
managerFilePatternsoption💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.