File tree Expand file tree Collapse file tree 1 file changed +14
-5
lines changed
Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Original file line number Diff line number Diff line change 2121 "matchStrings" : [
2222 " - \\ *\\ *(?<depName>Copier|copier-templates-extensions)\\ *\\ * \u2265 (?<currentValue>.*?)\\ s"
2323 ]
24+ },
25+ {
26+ "description" : " Update pre-commit hook revs in Jinja template" ,
27+ "customType" : " regex" ,
28+ "datasourceTemplate" : " github-tags" ,
29+ "depNameTemplate" : " {{{ depName }}}" ,
30+ "extractVersionTemplate" : " {{currentValue}}" ,
31+ "versioningTemplate" : " semver" ,
32+ "matchStrings" : [
33+ " (?ms)^\\ s*-\\ s*repo:\\ s*https?://github\\ .com/(?<depName>[^/\\ s]+/[^/\\ s]+)\\ b.*?\\ n\\ s*rev:\\ s*[\" ']?(?<currentValue>v?\\ d+\\ .\\ d+\\ .\\ d+)[\" ']?"
34+ ],
35+ "managerFilePatterns" : [
36+ " /^template/\\ .pre-commit-config\\ .ya?ml(?:\\ .jinja)?$/"
37+ ]
2438 }
2539 ],
26- "pre-commit" : {
27- "managerFilePatterns" : [
28- " /(^|/)template/\\ .pre-commit-config\\ .ya?ml(?:\\ .jinja)?$/"
29- ]
30- },
3140 "github-actions" : {
3241 "managerFilePatterns" : [
3342 " /^template/.+\\ .github.+/actions/.*\\ .ya?ml(?:\\ .jinja)?$/" ,
You can’t perform that action at this time.
0 commit comments