Commit 224acea
authored
fix(renovate): valid regex (#30)
## what
- For `fileMatch`, we should use regex pattern, not globbing.
- I'm confused why trunk check didn't fail for previous PR, because this
obviously is an issue:
```
❯ trunk check .github/renovate.json5 --show-existing
Checking 100% [==================================================>] 16/16 1.4s
ISSUES
.github/renovate.json5:0:0
0:0 high Invalid regExp for terraform.fileMatch: renovate/Configuration-Error
`**/*.tofu`
Checked 1 file
1 existing issue
✔ No new issues
```
## why
- Confusing, but this is how it works in renovate.
## references
- #19
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Chores**
- Updated the way Terraform files are identified for automated
dependency updates, improving file matching accuracy.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->1 parent 6ce01f2 commit 224acea
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
| 22 | + | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
0 commit comments