Skip to content

Commit

Permalink
Fix renovate configuration (#751)
Browse files Browse the repository at this point in the history
* Disable fork processing
* Enable gomod manager
* Add configuration to update grafana-build-tools

Fixes: #747

Signed-off-by: Marcelo E. Magallon <marcelo.magallon@grafana.com>
  • Loading branch information
mem authored Jul 2, 2024
1 parent de38831 commit b4a1203
Showing 1 changed file with 26 additions and 2 deletions.
28 changes: 26 additions & 2 deletions .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,22 @@
"platformCommit": true,
"dependencyDashboard": false,
"platform": "github",
"forkProcessing": "enabled",
"forkProcessing": "disabled",

"repositories": [
"grafana/synthetic-monitoring-agent"
],

"enabledManagers": ["custom.regex"],
"enabledManagers": ["custom.regex", "gomod"],

"gomod": {
"enabled": true
},

"postUpdateOptions": [
"gomodTidyE"
],

"customManagers": [
{
"customType": "regex",
Expand All @@ -26,6 +36,20 @@
"matchStrings": [
"(?:^|\\n)[ \\t]*K6_VERSION\\s*:=\\s*(?<currentValue>\\S+)[ \\t]*(?:$|\\n)"
]
},
{
"customType": "regex",
"datasourceTemplate": "github-tags",
"versioningTemplate": "semver",
"fileMatch": [
"^\\.github/workflows/.*\\.ya?ml$",
"(^|/)Makefile$",
".*\\.jsonnet$",
".*\\.mk$"
],
"matchStrings": [
"\\bghcr\\.io/(?<depName>grafana/grafana-build-tools):(?<currentValue>\\S+)\\b"
]
}
]
}

0 comments on commit b4a1203

Please sign in to comment.