Skip to content

Commit c737ce6

Browse files
committed
fix(deps): use RE2-compatible patterns for docker-compose managerFilePatterns
RE2 regex engine (used by Renovate) does not support lookaheads (?!...). Replace the negative lookahead with explicit directory matches for infra/chat/, infra/network/, infra/observability/, and root infra/*.yaml.
1 parent 2a5e46a commit c737ce6

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/renovate.json5

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -208,11 +208,13 @@
208208
ignorePaths: ["**/.cursor/skills/**"],
209209
// Extend docker-compose file matching to include compose fragments under infra/
210210
// Default pattern only matches compose*.y{a,}ml and docker-compose*.y{a,}ml
211-
// Exclude infra/sh/ (Ansible YAML, not compose)
211+
// Exclude infra/sh/ (Ansible YAML, not compose) — RE2 has no lookaheads, so list dirs explicitly
212212
"docker-compose": {
213213
managerFilePatterns: [
214-
"/infra/(?!sh/).+\\.ya?ml$/",
215-
"/infra/[^/]+\\.ya?ml$/",
214+
"/^infra/chat/.+\\.ya?ml$/",
215+
"/^infra/network/.+\\.ya?ml$/",
216+
"/^infra/observability/.+\\.ya?ml$/",
217+
"/^infra/[^/]+\\.ya?ml$/",
216218
],
217219
},
218220
// Use platform-native automerge (GitHub/GitLab built-in automerge)

0 commit comments

Comments
 (0)