Skip to content

Commit

Permalink
Merge pull request #55 from phisco/lets-renovate
Browse files Browse the repository at this point in the history
chore: refine renovate config
  • Loading branch information
phisco authored Nov 29, 2024
2 parents 4c67de9 + 337cb04 commit b1882f3
Showing 1 changed file with 36 additions and 1 deletion.
37 changes: 36 additions & 1 deletion renovate.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,51 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
"config:recommended",
":semanticCommits"
],
"crossplane": {
"fileMatch": ["(^|/)example/.*\\.ya?ml$"]
},
"rebaseWhen": "conflicted",
"packageRules": [
{
"matchManagers": ["crossplane"],
"matchFileNames": ["example/**"],
"groupName": "examples"
},
{
"description": "Group all go version updates",
"matchDatasources": [
"golang-version"
],
"groupName": "golang version"
}
],
"postUpdateOptions": [
"gomodTidy"
],
"customManagers": [
{
"customType": "regex",
"description": "Bump Go version used in workflows",
"fileMatch": ["^\\.github\\/workflows\\/[^/]+\\.ya?ml$"],
"matchStrings": [
"GO_VERSION: '(?<currentValue>.*?)'\\n"
],
"datasourceTemplate": "golang-version",
"depNameTemplate": "golang"
}, {
"customType": "regex",
"description": "Bump golangci-lint version in workflows",
"fileMatch": ["^\\.github\\/workflows\\/[^/]+\\.ya?ml$"],
"matchStrings": [
"GOLANGCI_VERSION: 'v(?<currentValue>.*?)'\\n",
"GOLANGCILINT_VERSION = (?<currentValue>.*?)\\n"
],
"datasourceTemplate": "github-tags",
"depNameTemplate": "golangci/golangci-lint",
"extractVersionTemplate": "^v(?<version>.*)$"
}
]
}

0 comments on commit b1882f3

Please sign in to comment.