chore(config): migrate Renovate config - #1007
renovate-bot wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
Code Review
This pull request updates the Renovate configuration in .github/renovate.json by replacing fileMatch with managerFilePatterns. The review feedback correctly identifies a regex parsing error in the new pattern due to an unescaped forward slash within the delimiters and provides a code suggestion to fix it.
| "fileMatch": [ | ||
| "(^|/)startshowcase\\.sh$" | ||
| "managerFilePatterns": [ | ||
| "/(^|/)startshowcase\\.sh$/" |
There was a problem hiding this comment.
The regular expression in managerFilePatterns is enclosed in / delimiters, but it contains an unescaped forward slash / within the group (^|/). This will cause a regex parsing error in Renovate because the unescaped slash is interpreted as the end of the regex pattern. Escaping the forward slash as \\/ resolves this issue.
| "/(^|/)startshowcase\\.sh$/" | |
| "/(^|\\/)startshowcase\\.sh$/" |
|
@robertvoinescu-work sending this one your way as it's to do with the Showcase update. |
The Renovate config in this repository needs migrating. Typically this is because one or more configuration options you are using have been renamed.
You don't need to merge this PR right away, because Renovate will continue to migrate these fields internally each time it runs. But later some of these fields may be fully deprecated and the migrations removed. So it's a good idea to merge this migration PR soon.
🔕 Ignore: Close this PR and you won't be reminded about config migration again, but one day your current config may no longer be valid.
❓ Got questions? Does something look wrong to you? Please don't hesitate to request help here.
This PR was generated by Mend Renovate. View the repository job log.