Skip to content

Commit

Permalink
ci/renovate: split configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
nadiamoe committed Jul 4, 2024
1 parent c029987 commit ae97c2f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 8 deletions.
7 changes: 7 additions & 0 deletions .github/renovate-selfhosted.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"username": "GrafanaRenovateBot",
"platform": "github",
"repositories": [
"grafana/synthetic-monitoring-agent"
]
}
12 changes: 5 additions & 7 deletions .github/renovate.json → .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,15 @@
],

"branchPrefix": "grafanarenovatebot/",
"username": "GrafanaRenovateBot",
"gitAuthor": "GrafanaRenovateBot <[email protected]>",
// Used when renovate runs as a github app.
// https://docs.renovatebot.com/configuration-options/#platformcommit
"platformCommit": true,
"dependencyDashboard": false,
"platform": "github",
"forkProcessing": "disabled",

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

// TODO: We should be able to use the defaults if we turn dependabot off.
"enabledManagers": ["custom.regex", "gomod"],

"gomod": {
"enabled": true
},
Expand All @@ -29,6 +25,7 @@

"customManagers": [
{
// Update k6 version in Dockerfiles.
"customType": "regex",
"datasourceTemplate": "github-releases",
"depNameTemplate": "grafana/k6",
Expand All @@ -38,6 +35,7 @@
]
},
{
// Update grafana-build-tools tags across the repository.
"customType": "regex",
"datasourceTemplate": "github-tags",
"versioningTemplate": "semver",
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/renovate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ jobs:
uses: renovatebot/github-action@21d88b0bf0183abcee15f990011cca090dfc47dd # v40.1.12
with:
renovate-version: 37.420.1@sha256:528f003c9aa77f6e916e3f9f5cc2fb9ae16fcf285af66f412a34325124f4a00e
configurationFile: .github/renovate.json
configurationFile: .github/renovate-selfhosted.json
token: '${{ steps.generate-token.outputs.token }}'

0 comments on commit ae97c2f

Please sign in to comment.