Skip to content

Commit

Permalink
chore(pre-commit): correct the regex for matching pre-commit config
Browse files Browse the repository at this point in the history
  • Loading branch information
dafyddj committed Nov 10, 2024
1 parent bdbeb14 commit b01b851
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"customManagers": [
{ // See https://github.com/renovatebot/renovate/issues/20780
"customType": "regex",
"fileMatch": ["^.pre-commit-config.yaml$"],
"fileMatch": ["^\\.pre-commit-config\\.yaml$"],
"matchStrings": [
"# renovate: datasource=(?<datasource>.*?)( versioning=(?<versioning>.*?))?\\s+-\\s+['\"]?(?<depName>[^=]+)(?:==(?<currentValue>[^'\"\\s]*))?"
],
Expand Down

0 comments on commit b01b851

Please sign in to comment.