Skip to content

Commit 2a5e46a

Browse files
committed
fix(deps): use managerFilePatterns instead of deprecated fileMatch
Renovate renamed fileMatch to managerFilePatterns. Using the old name triggers an automatic migration PR that strips all JSON5 comments. Switch to the new option name with regex syntax to prevent that.
1 parent 245515f commit 2a5e46a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/renovate.json5

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -210,9 +210,9 @@
210210
// Default pattern only matches compose*.y{a,}ml and docker-compose*.y{a,}ml
211211
// Exclude infra/sh/ (Ansible YAML, not compose)
212212
"docker-compose": {
213-
fileMatch: [
214-
"(^|/)infra/(?!sh/).+\\.ya?ml$",
215-
"(^|/)infra/[^/]+\\.ya?ml$",
213+
managerFilePatterns: [
214+
"/infra/(?!sh/).+\\.ya?ml$/",
215+
"/infra/[^/]+\\.ya?ml$/",
216216
],
217217
},
218218
// Use platform-native automerge (GitHub/GitLab built-in automerge)

0 commit comments

Comments
 (0)