Skip to content

Commit e1e3f95

Browse files
Add pre-commit scripts to Renovate configuration
- Include pre-commit/*.sh files in Renovate file matching - Will now automatically update TruffleHog versions in shell scripts - Ensures consistent version management across all TruffleHog usage
1 parent 1c30732 commit e1e3f95

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

renovate.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"customType": "regex",
99
"fileMatch": [
1010
"(?:^|/)\\.github/(?:workflows|actions)/.+\\.ya?ml$",
11-
"(?:^|/)action\\.ya?ml$"
11+
"(?:^|/)action\\.ya?ml$",
12+
"(?:^|/)pre-commit/.+\\.sh$"
1213
],
1314
"matchStrings": [
1415
"# renovate: datasource=(?<datasource>[a-z-.]+?) depName=(?<depName>[^\\s]+?)(?: (?:lookupName|packageName)=(?<packageName>[^\\s]+?))?(?: versioning=(?<versioning>[^\\s]+?))?(?: extractVersion=(?<extractVersion>[^\\s]+?))?\\s+[A-Za-z0-9_-]+[_-](?:VERSION|version)\\s*[:=]\\s*[\"']?(?<currentValue>[^\"'@\\n]+)(?:@(?<currentDigest>sha256:[a-f0-9]+))?[\"']?"

0 commit comments

Comments
 (0)