diff --git a/file.json b/file.json index 32403ba..d8d773a 100644 --- a/file.json +++ b/file.json @@ -1,4 +1,37 @@ { + "packageRules": [ + { + "matchPackageNames": [ + "golang/go", + "golang/tools", + "kubernetes/kubectl" + ], + "matchPaths": [ + "{{arg0}}" + ], + "matchDatasources": ["github-releases"], + "enabled": false + }, + { + "matchPaths": [ + "{{arg0}}" + ], + "matchDatasources": ["github-tags"], + "enabled": false + }, + { + "matchPackageNames": [ + "golang/go", + "golang/tools", + "kubernetes/kubectl" + ], + "matchPaths": [ + "{{arg0}}" + ], + "matchDatasources": ["github-tags"], + "enabled": true + } + ], "regexManagers": [ { "fileMatch": ["{{arg0}}"], @@ -8,6 +41,14 @@ ], "datasourceTemplate": "github-releases" }, + { + "fileMatch": ["{{arg0}}"], + "matchStrings": [ + " +['\"]?(version|ref)['\"]? *: +['\"]?(?[^'\" \\n]+?)['\"]? +# renovate: depName=(?[^\\n]+)", + " +['\"]?name['\"]? *: +['\"]?(?[^'\" .@/\\n]+/[^'\" @/\\n]+)(/[^'\" /@\\n]+)*@(?[^'\" \\n]+)['\"]?" + ], + "datasourceTemplate": "github-tags" + }, { "fileMatch": ["{{arg0}}"], "matchStrings": [