Skip to content

Commit

Permalink
feat(file.json): set packageRules to support github-tags
Browse files Browse the repository at this point in the history
  • Loading branch information
suzuki-shunsuke committed Aug 12, 2022
1 parent 2d7c0d2 commit 453144b
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions file.json
Original file line number Diff line number Diff line change
@@ -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}}"],
Expand All @@ -8,6 +41,14 @@
],
"datasourceTemplate": "github-releases"
},
{
"fileMatch": ["{{arg0}}"],
"matchStrings": [
" +['\"]?(version|ref)['\"]? *: +['\"]?(?<currentValue>[^'\" \\n]+?)['\"]? +# renovate: depName=(?<depName>[^\\n]+)",
" +['\"]?name['\"]? *: +['\"]?(?<depName>[^'\" .@/\\n]+/[^'\" @/\\n]+)(/[^'\" /@\\n]+)*@(?<currentValue>[^'\" \\n]+)['\"]?"
],
"datasourceTemplate": "github-tags"
},
{
"fileMatch": ["{{arg0}}"],
"matchStrings": [
Expand Down

0 comments on commit 453144b

Please sign in to comment.